/src/scnlib/src/scn/impl.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2017 Elias Kosunen |
2 | | // |
3 | | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | // you may not use this file except in compliance with the License. |
5 | | // You may obtain a copy of the License at |
6 | | // |
7 | | // https://www.apache.org/licenses/LICENSE-2.0 |
8 | | // |
9 | | // Unless required by applicable law or agreed to in writing, software |
10 | | // distributed under the License is distributed on an "AS IS" BASIS, |
11 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | // See the License for the specific language governing permissions and |
13 | | // limitations under the License. |
14 | | // |
15 | | // This file is a part of scnlib: |
16 | | // https://github.com/eliaskosunen/scnlib |
17 | | |
18 | | #pragma once |
19 | | |
20 | | // Transitively includes <scn/scan.h> |
21 | | #include <scn/regex.h> |
22 | | #include <scn/xchar.h> |
23 | | |
24 | | #include <algorithm> |
25 | | #include <clocale> |
26 | | #include <cmath> |
27 | | #include <cwchar> |
28 | | #include <functional> |
29 | | #include <vector> |
30 | | |
31 | | #if SCN_HAS_BITOPS |
32 | | #include <bit> |
33 | | #elif SCN_MSVC |
34 | | #include <IntSafe.h> |
35 | | #include <intrin.h> |
36 | | #elif SCN_POSIX && !SCN_GCC_COMPAT |
37 | | |
38 | | SCN_CLANG_PUSH |
39 | | SCN_CLANG_IGNORE("-Wreserved-id-macro") |
40 | | #define _XOPEN_SOURCE 700 |
41 | | SCN_CLANG_POP |
42 | | |
43 | | #include <strings.h> |
44 | | #endif |
45 | | |
46 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
47 | | #include <regex> |
48 | | #if SCN_REGEX_BOOST_USE_ICU |
49 | | #error "Can't use the ICU with std::regex" |
50 | | #endif |
51 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
52 | | #include <boost/regex.hpp> |
53 | | #if SCN_REGEX_BOOST_USE_ICU |
54 | | #include <boost/regex/icu.hpp> |
55 | | #endif |
56 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
57 | | #include <re2/re2.h> |
58 | | #endif |
59 | | |
60 | | namespace scn { |
61 | | SCN_BEGIN_NAMESPACE |
62 | | |
63 | | ///////////////////////////////////////////////////////////////// |
64 | | // Private ranges stuff |
65 | | ///////////////////////////////////////////////////////////////// |
66 | | |
67 | | namespace ranges { |
68 | | |
69 | | template <typename R> |
70 | | using const_iterator_t = iterator_t<std::add_const_t<R>>; |
71 | | |
72 | | // Like std::ranges::distance, utilizing .position if available |
73 | | namespace detail::distance_ { |
74 | | struct fn { |
75 | | private: |
76 | | template <typename I, typename S> |
77 | | static constexpr auto impl(I i, S s, priority_tag<1>) |
78 | | -> decltype(s.position() - i.position()) |
79 | | { |
80 | | return s.position() - i.position(); |
81 | | } |
82 | | |
83 | | template <typename I, typename S> |
84 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
85 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
86 | 51.4k | { |
87 | 51.4k | return s - i; |
88 | 51.4k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<char const*, char const*>(char const*, char const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 49.9k | { | 87 | 49.9k | return s - i; | 88 | 49.9k | } |
std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 1.48k | { | 87 | 1.48k | return s - i; | 88 | 1.48k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>, scn::v4::detail::priority_tag<0ul>) |
89 | | |
90 | | template <typename I, typename S> |
91 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
92 | | -> std::enable_if_t<!sized_sentinel_for<S, I>, iter_difference_t<I>> |
93 | 0 | { |
94 | 0 | iter_difference_t<I> counter{0}; |
95 | 0 | while (i != s) { |
96 | 0 | ++i; |
97 | 0 | ++counter; |
98 | 0 | } |
99 | 0 | return counter; |
100 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::detail::priority_tag<0ul>) |
101 | | |
102 | | public: |
103 | | template <typename I, typename S> |
104 | | constexpr auto operator()(I first, S last) const |
105 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
106 | | iter_difference_t<I>> |
107 | 51.4k | { |
108 | 51.4k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); |
109 | 51.4k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 107 | 49.9k | { | 108 | 49.9k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 49.9k | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 107 | 1.48k | { | 108 | 1.48k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 1.48k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<char*> >)&&(sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<wchar_t*> >)&&(sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>) const |
110 | | }; |
111 | | } // namespace detail::distance_ |
112 | | |
113 | | inline constexpr auto distance = detail::distance_::fn{}; |
114 | | |
115 | | namespace detail { |
116 | | template <typename I, typename = void> |
117 | | struct has_batch_advance : std::false_type {}; |
118 | | template <typename I> |
119 | | struct has_batch_advance<I, |
120 | | std::void_t<decltype(SCN_DECLVAL(I&).batch_advance( |
121 | | SCN_DECLVAL(std::ptrdiff_t)))>> : std::true_type { |
122 | | }; |
123 | | } // namespace detail |
124 | | |
125 | | // std::advance, utilizing .batch_advance if available |
126 | | namespace detail::advance_ { |
127 | | struct fn { |
128 | | private: |
129 | | template <typename T> |
130 | | static constexpr T abs(T t) |
131 | 74.7k | { |
132 | 74.7k | if (t < T{0}) { |
133 | 0 | return -t; |
134 | 0 | } |
135 | 74.7k | return t; |
136 | 74.7k | } |
137 | | |
138 | | template <typename I> |
139 | | static constexpr auto impl(I& i, iter_difference_t<I> n, priority_tag<1>) |
140 | | -> std::enable_if_t<has_batch_advance<I>::value> |
141 | | { |
142 | | i.batch_advance(n); |
143 | | } |
144 | | |
145 | | template <typename I> |
146 | | static constexpr auto impl_i_n(I& i, |
147 | | iter_difference_t<I> n, |
148 | | priority_tag<0>) |
149 | | -> std::enable_if_t<random_access_iterator<I>> |
150 | 129k | { |
151 | 129k | i += n; |
152 | 129k | } std::__1::enable_if<random_access_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 93.5k | { | 151 | 93.5k | i += n; | 152 | 93.5k | } |
std::__1::enable_if<random_access_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 36.3k | { | 151 | 36.3k | i += n; | 152 | 36.3k | } |
|
153 | | |
154 | | template <typename I> |
155 | | static constexpr auto impl_i_n(I& i, |
156 | | iter_difference_t<I> n, |
157 | | priority_tag<0>) |
158 | | -> std::enable_if_t<bidirectional_iterator<I> && |
159 | | !random_access_iterator<I>> |
160 | 3.74k | { |
161 | 3.74k | constexpr auto zero = iter_difference_t<I>{0}; |
162 | | |
163 | 3.74k | if (n > zero) { |
164 | 0 | while (n-- > zero) { |
165 | 0 | ++i; |
166 | 0 | } |
167 | 0 | } |
168 | 3.74k | else { |
169 | 3.74k | while (n++ < zero) { |
170 | 0 | --i; |
171 | 0 | } |
172 | 3.74k | } |
173 | 3.74k | } std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.46k | { | 161 | 1.46k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.46k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.46k | else { | 169 | 1.46k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.46k | } | 173 | 1.46k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 2.28k | { | 161 | 2.28k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 2.28k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 2.28k | else { | 169 | 2.28k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 2.28k | } | 173 | 2.28k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) |
174 | | |
175 | | template <typename I> |
176 | | static constexpr auto impl_i_n(I& i, |
177 | | iter_difference_t<I> n, |
178 | | priority_tag<0>) |
179 | | -> std::enable_if_t<!bidirectional_iterator<I>> |
180 | 0 | { |
181 | 0 | while (n-- > iter_difference_t<I>{0}) { |
182 | 0 | ++i; |
183 | 0 | } |
184 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) |
185 | | |
186 | | template <typename I, typename S> |
187 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<2>) |
188 | | -> std::enable_if_t<std::is_assignable_v<I&, S>> |
189 | 7.00k | { |
190 | 7.00k | i = std::move(bound); |
191 | 7.00k | } _ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKcS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 956 | { | 190 | 956 | i = std::move(bound); | 191 | 956 | } |
_ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKwS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 6.05k | { | 190 | 6.05k | i = std::move(bound); | 191 | 6.05k | } |
|
192 | | |
193 | | template <typename I, typename S> |
194 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<1>) |
195 | | -> std::enable_if_t<sized_sentinel_for<S, I>> |
196 | | { |
197 | | fn::impl_i_n(i, bound - i); |
198 | | } |
199 | | |
200 | | template <typename I, typename S> |
201 | | static constexpr void impl_i_s(I& i, S bound, priority_tag<0>) |
202 | 252 | { |
203 | 4.00k | while (i != bound) { |
204 | 3.75k | ++i; |
205 | 3.75k | } |
206 | 252 | } Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 168 | { | 203 | 2.60k | while (i != bound) { | 204 | 2.43k | ++i; | 205 | 2.43k | } | 206 | 168 | } |
Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 84 | { | 203 | 1.39k | while (i != bound) { | 204 | 1.31k | ++i; | 205 | 1.31k | } | 206 | 84 | } |
|
207 | | |
208 | | template <typename I, typename S> |
209 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
210 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
211 | 37.3k | { |
212 | 37.3k | if (fn::abs(n) >= fn::abs(bound - i)) { |
213 | 66 | auto dist = bound - i; |
214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); |
215 | 66 | return dist; |
216 | 66 | } |
217 | 37.3k | fn::impl_i_n(i, n, priority_tag<1>{}); |
218 | 37.3k | return n; |
219 | 37.3k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) Line | Count | Source | 211 | 37.3k | { | 212 | 37.3k | if (fn::abs(n) >= fn::abs(bound - i)) { | 213 | 66 | auto dist = bound - i; | 214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 215 | 66 | return dist; | 216 | 66 | } | 217 | 37.3k | fn::impl_i_n(i, n, priority_tag<1>{}); | 218 | 37.3k | return n; | 219 | 37.3k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) |
220 | | |
221 | | template <typename I, typename S> |
222 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
223 | | -> std::enable_if_t<bidirectional_iterator<I> && |
224 | | !sized_sentinel_for<S, I>, |
225 | | iter_difference_t<I>> |
226 | 4.19k | { |
227 | 4.19k | constexpr iter_difference_t<I> zero{0}; |
228 | 4.19k | iter_difference_t<I> counter{0}; |
229 | | |
230 | 4.19k | if (n < zero) { |
231 | 0 | do { |
232 | 0 | --i; |
233 | 0 | --counter; // Yes, really |
234 | 0 | } while (++n < zero && i != bound); |
235 | 0 | } |
236 | 4.19k | else { |
237 | 14.1k | while (n-- > zero && i != bound) { |
238 | 9.99k | ++i; |
239 | 9.99k | ++counter; |
240 | 9.99k | } |
241 | 4.19k | } |
242 | | |
243 | 4.19k | return counter; |
244 | 4.19k | } Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 226 | 3.32k | { | 227 | 3.32k | constexpr iter_difference_t<I> zero{0}; | 228 | 3.32k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 3.32k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 3.32k | else { | 237 | 10.9k | while (n-- > zero && i != bound) { | 238 | 7.64k | ++i; | 239 | 7.64k | ++counter; | 240 | 7.64k | } | 241 | 3.32k | } | 242 | | | 243 | 3.32k | return counter; | 244 | 3.32k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 226 | 870 | { | 227 | 870 | constexpr iter_difference_t<I> zero{0}; | 228 | 870 | iter_difference_t<I> counter{0}; | 229 | | | 230 | 870 | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 870 | else { | 237 | 3.21k | while (n-- > zero && i != bound) { | 238 | 2.34k | ++i; | 239 | 2.34k | ++counter; | 240 | 2.34k | } | 241 | 870 | } | 242 | | | 243 | 870 | return counter; | 244 | 870 | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) |
245 | | |
246 | | template <typename I, typename S> |
247 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
248 | | -> std::enable_if_t<!bidirectional_iterator<I> && |
249 | | !sized_sentinel_for<S, I>, |
250 | | iter_difference_t<I>> |
251 | 0 | { |
252 | 0 | constexpr iter_difference_t<I> zero{0}; |
253 | 0 | iter_difference_t<I> counter{0}; |
254 | |
|
255 | 0 | while (n-- > zero && i != bound) { |
256 | 0 | ++i; |
257 | 0 | ++counter; |
258 | 0 | } |
259 | |
|
260 | 0 | return counter; |
261 | 0 | } Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) |
262 | | |
263 | | public: |
264 | | template <typename I> |
265 | | constexpr auto operator()(I& i, iter_difference_t<I> n) const |
266 | | -> std::enable_if_t<input_or_output_iterator<I>> |
267 | 96.3k | { |
268 | 96.3k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); |
269 | 96.3k | } std::__1::enable_if<input_or_output_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 267 | 56.2k | { | 268 | 56.2k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 56.2k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 267 | 36.3k | { | 268 | 36.3k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 36.3k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Line | Count | Source | 267 | 1.46k | { | 268 | 1.46k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.46k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Line | Count | Source | 267 | 2.28k | { | 268 | 2.28k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 2.28k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
270 | | |
271 | | template <typename I, typename S> |
272 | | constexpr auto operator()(I& i, S bound) const |
273 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>> |
274 | 7.19k | { |
275 | 7.19k | fn::impl_i_s(i, bound, priority_tag<2>{}); |
276 | 7.19k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, char const*) const Line | Count | Source | 274 | 890 | { | 275 | 890 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 890 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 274 | 168 | { | 275 | 168 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 168 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, wchar_t const*) const Line | Count | Source | 274 | 6.05k | { | 275 | 6.05k | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 6.05k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 274 | 84 | { | 275 | 84 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 84 | } |
|
277 | | |
278 | | template <typename I, typename S> |
279 | | constexpr auto operator()(I& i, iter_difference_t<I> n, S bound) const |
280 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
281 | | iter_difference_t<I>> |
282 | 41.5k | { |
283 | 41.5k | return n - fn::impl_i_n_s(i, n, bound); |
284 | 41.5k | } Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 282 | 3.32k | { | 283 | 3.32k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 3.32k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) const Line | Count | Source | 282 | 37.3k | { | 283 | 37.3k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 37.3k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) const Line | Count | Source | 282 | 870 | { | 283 | 870 | return n - fn::impl_i_n_s(i, n, bound); | 284 | 870 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) const |
285 | | }; |
286 | | } // namespace detail::advance_ |
287 | | |
288 | | inline constexpr auto advance = detail::advance_::fn{}; |
289 | | |
290 | | namespace next_impl { |
291 | | struct fn { |
292 | | template <typename I> |
293 | | constexpr auto operator()(I x) const |
294 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
295 | 194M | { |
296 | 194M | ++x; |
297 | 194M | return x; |
298 | 194M | } Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Line | Count | Source | 295 | 2.43k | { | 296 | 2.43k | ++x; | 297 | 2.43k | return x; | 298 | 2.43k | } |
std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*) const Line | Count | Source | 295 | 43.2k | { | 296 | 43.2k | ++x; | 297 | 43.2k | return x; | 298 | 43.2k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 295 | 1.08k | { | 296 | 1.08k | ++x; | 297 | 1.08k | return x; | 298 | 1.08k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*) const Line | Count | Source | 295 | 194M | { | 296 | 194M | ++x; | 297 | 194M | return x; | 298 | 194M | } |
|
299 | | |
300 | | template <typename I> |
301 | | constexpr auto operator()(I x, iter_difference_t<I> n) const |
302 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
303 | 92.5k | { |
304 | 92.5k | ranges::advance(x, n); |
305 | 92.5k | return x; |
306 | 92.5k | } std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 303 | 56.2k | { | 304 | 56.2k | ranges::advance(x, n); | 305 | 56.2k | return x; | 306 | 56.2k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 303 | 36.3k | { | 304 | 36.3k | ranges::advance(x, n); | 305 | 36.3k | return x; | 306 | 36.3k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
307 | | |
308 | | template <typename I, typename S> |
309 | | constexpr auto operator()(I x, S bound) const |
310 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
311 | | I> |
312 | 7.19k | { |
313 | 7.19k | ranges::advance(x, bound); |
314 | 7.19k | return x; |
315 | 7.19k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 312 | 890 | { | 313 | 890 | ranges::advance(x, bound); | 314 | 890 | return x; | 315 | 890 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 312 | 168 | { | 313 | 168 | ranges::advance(x, bound); | 314 | 168 | return x; | 315 | 168 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 312 | 6.05k | { | 313 | 6.05k | ranges::advance(x, bound); | 314 | 6.05k | return x; | 315 | 6.05k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 312 | 84 | { | 313 | 84 | ranges::advance(x, bound); | 314 | 84 | return x; | 315 | 84 | } |
|
316 | | |
317 | | template <typename I, typename S> |
318 | | constexpr auto operator()(I x, iter_difference_t<I> n, S bound) const |
319 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
320 | | I> |
321 | | { |
322 | | ranges::advance(x, n, bound); |
323 | | return x; |
324 | | } |
325 | | }; |
326 | | } // namespace next_impl |
327 | | |
328 | | inline constexpr next_impl::fn next{}; |
329 | | |
330 | | // prev, for forward_iterators |
331 | | namespace detail::prev_backtrack_ { |
332 | | struct fn { |
333 | | private: |
334 | | template <typename It> |
335 | | static constexpr auto impl(It it, It, priority_tag<2>) |
336 | | -> std::enable_if_t<bidirectional_iterator<It>, It> |
337 | | { |
338 | | --it; |
339 | | return it; |
340 | | } |
341 | | |
342 | | template <typename It> |
343 | | static constexpr auto impl(It it, It beg, priority_tag<1>) |
344 | | -> remove_cvref_t<decltype((void)beg.batch_advance(42), it)> |
345 | | { |
346 | | return beg.batch_advance(it.position() - 1); |
347 | | } |
348 | | |
349 | | template <typename It> |
350 | | static constexpr auto impl(It it, It beg, priority_tag<0>) |
351 | | -> std::enable_if_t<forward_iterator<It>, It> |
352 | | { |
353 | | SCN_EXPECT(it != beg); |
354 | | |
355 | | while (true) { |
356 | | auto tmp = beg; |
357 | | ++beg; |
358 | | if (beg == it) { |
359 | | return tmp; |
360 | | } |
361 | | } |
362 | | } |
363 | | |
364 | | public: |
365 | | template <typename It> |
366 | | constexpr auto operator()(It it, It beg) const |
367 | | -> decltype(fn::impl(it, beg, priority_tag<2>{})) |
368 | | { |
369 | | return fn::impl(it, beg, priority_tag<2>{}); |
370 | | } |
371 | | }; |
372 | | } // namespace detail::prev_backtrack_ |
373 | | |
374 | | inline constexpr auto prev_backtrack = detail::prev_backtrack_::fn{}; |
375 | | |
376 | | // operator<, for forward_iterators |
377 | | namespace detail::less_backtrack_ { |
378 | | struct fn { |
379 | | private: |
380 | | template <typename It> |
381 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<2>) |
382 | | -> decltype(static_cast<void>(lhs < rhs), true) |
383 | | { |
384 | | return lhs < rhs; |
385 | | } |
386 | | |
387 | | template <typename It> |
388 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<1>) |
389 | | -> decltype(static_cast<void>(lhs.position() < rhs.position()), true) |
390 | | { |
391 | | return lhs.position() < rhs.position(); |
392 | | } |
393 | | |
394 | | template <typename It> |
395 | | static constexpr auto impl(It lhs, It rhs, It beg, priority_tag<0>) |
396 | | -> std::enable_if_t<ranges::forward_iterator<It>, bool> |
397 | | { |
398 | | while (true) { |
399 | | if (beg == rhs) { |
400 | | return false; |
401 | | } |
402 | | if (beg == lhs) { |
403 | | return true; |
404 | | } |
405 | | ++beg; |
406 | | } |
407 | | } |
408 | | |
409 | | public: |
410 | | template <typename It> |
411 | | constexpr auto operator()(It lhs, It rhs, It beg) const |
412 | | -> decltype(fn::impl(lhs, rhs, beg, priority_tag<2>{})) |
413 | | { |
414 | | return fn::impl(lhs, rhs, beg, priority_tag<2>{}); |
415 | | } |
416 | | }; |
417 | | } // namespace detail::less_backtrack_ |
418 | | |
419 | | inline constexpr auto less_backtrack = detail::less_backtrack_::fn{}; |
420 | | |
421 | | } // namespace ranges |
422 | | |
423 | | ///////////////////////////////////////////////////////////////// |
424 | | // ASCII-only locale-free <cctype> |
425 | | ///////////////////////////////////////////////////////////////// |
426 | | |
427 | | namespace impl { |
428 | | inline constexpr std::array<bool, 256> is_ascii_space_lookup = { |
429 | | {false, false, false, false, false, false, false, false, false, true, |
430 | | true, true, true, true, false, false, false, false, false, false, |
431 | | false, false, false, false, false, false, false, false, false, false, |
432 | | false, false, true, false, false, false, false, false, false, false, |
433 | | false, false, false, false, false, false, false, false, false, false, |
434 | | false, false, false, false, false, false, false, false, false, false, |
435 | | false, false, false, false, false, false, false, false, false, false, |
436 | | false, false, false, false, false, false, false, false, false, false, |
437 | | false, false, false, false, false, false, false, false, false, false, |
438 | | false, false, false, false, false, false, false, false, false, false, |
439 | | false, false, false, false, false, false, false, false, false, false, |
440 | | false, false, false, false, false, false, false, false, false, false, |
441 | | false, false, false, false, false, false, false, false, false, false, |
442 | | false, false, false, false, false, false, false, false, false, false, |
443 | | false, false, false, false, false, false, false, false, false, false, |
444 | | false, false, false, false, false, false, false, false, false, false, |
445 | | false, false, false, false, false, false, false, false, false, false, |
446 | | false, false, false, false, false, false, false, false, false, false, |
447 | | false, false, false, false, false, false, false, false, false, false, |
448 | | false, false, false, false, false, false, false, false, false, false, |
449 | | false, false, false, false, false, false, false, false, false, false, |
450 | | false, false, false, false, false, false, false, false, false, false, |
451 | | false, false, false, false, false, false, false, false, false, false, |
452 | | false, false, false, false, false, false, false, false, false, false, |
453 | | false, false, false, false, false, false, false, false, false, false, |
454 | | false, false, false, false, false, false}}; |
455 | | |
456 | | constexpr bool is_ascii_space(char ch) noexcept |
457 | 42.2k | { |
458 | 42.2k | return is_ascii_space_lookup[static_cast<size_t>( |
459 | 42.2k | static_cast<unsigned char>(ch))]; |
460 | 42.2k | } |
461 | | |
462 | | constexpr bool is_ascii_space(wchar_t ch) noexcept |
463 | 0 | { |
464 | 0 | return ch == 0x20 || (ch >= 0x09 && ch <= 0x0d); |
465 | 0 | } |
466 | | |
467 | | constexpr bool is_ascii_char(char ch) noexcept |
468 | 249k | { |
469 | 249k | return static_cast<unsigned char>(ch) <= 127; |
470 | 249k | } |
471 | | |
472 | | constexpr bool is_ascii_char(wchar_t ch) noexcept |
473 | 2.98k | { |
474 | 2.98k | #if WCHAR_MIN < 0 |
475 | 2.98k | return ch >= 0 && ch <= 127; |
476 | | #else |
477 | | return ch <= 127; |
478 | | #endif |
479 | 2.98k | } |
480 | | |
481 | | constexpr bool is_ascii_char(char32_t cp) noexcept |
482 | 268k | { |
483 | 268k | return cp <= 127; |
484 | 268k | } |
485 | | |
486 | | ///////////////////////////////////////////////////////////////// |
487 | | // <bits> |
488 | | ///////////////////////////////////////////////////////////////// |
489 | | |
490 | | inline int count_trailing_zeroes(uint64_t val) |
491 | 0 | { |
492 | 0 | SCN_EXPECT(val != 0); |
493 | 0 | #if SCN_HAS_BITOPS |
494 | 0 | return std::countr_zero(val); |
495 | 0 | #elif SCN_GCC_COMPAT |
496 | 0 | return __builtin_ctzll(val); |
497 | 0 | #elif SCN_MSVC && SCN_WINDOWS_64BIT |
498 | 0 | DWORD ret{}; |
499 | 0 | _BitScanForward64(&ret, val); |
500 | 0 | return static_cast<int>(ret); |
501 | 0 | #elif SCN_MSVC && !SCN_WINDOWS_64BIT |
502 | 0 | DWORD ret{}; |
503 | 0 | if (_BitScanForward(&ret, static_cast<uint32_t>(val))) { |
504 | 0 | return static_cast<int>(ret); |
505 | 0 | } |
506 | 0 |
|
507 | 0 | _BitScanForward(&ret, static_cast<uint32_t>(val >> 32)); |
508 | 0 | return static_cast<int>(ret + 32); |
509 | 0 | #elif SCN_POSIX |
510 | 0 | return ::ctzll(val); |
511 | 0 | #else |
512 | 0 | #define SCN_HAS_BITS_CTZ 0 |
513 | 0 | SCN_EXPECT(false); |
514 | 0 | SCN_UNREACHABLE; |
515 | 0 | #endif |
516 | 0 | } |
517 | | |
518 | | #ifndef SCN_HAS_BITS_CTZ |
519 | | #define SCN_HAS_BITS_CTZ 1 |
520 | | #endif |
521 | | |
522 | | constexpr uint64_t has_zero_byte(uint64_t word) |
523 | 0 | { |
524 | 0 | return (word - 0x0101010101010101ull) & ~word & 0x8080808080808080ull; |
525 | 0 | } |
526 | | |
527 | | constexpr uint64_t has_byte_between(uint64_t word, uint8_t a, uint8_t b) |
528 | 0 | { |
529 | 0 | const auto m = static_cast<uint64_t>(a) - 1, |
530 | 0 | n = static_cast<uint64_t>(b) + 1; |
531 | 0 | return (((~0ull / 255 * (127 + (n)) - ((word) & ~0ull / 255 * 127)) & |
532 | 0 | ~(word) & |
533 | 0 | (((word) & ~0ull / 255 * 127) + ~0ull / 255 * (127 - (m)))) & |
534 | 0 | (~0ull / 255 * 128)); |
535 | 0 | } |
536 | | |
537 | | constexpr uint64_t has_byte_greater(uint64_t word, uint8_t n) |
538 | 30.8k | { |
539 | 30.8k | return (word + ~0ull / 255 * (127 - n) | word) & ~0ull / 255 * 128; |
540 | 30.8k | } |
541 | | |
542 | | inline size_t get_index_of_first_nonmatching_byte(uint64_t word) |
543 | 0 | { |
544 | 0 | word ^= 0x8080808080808080ull; |
545 | 0 | if (word == 0) { |
546 | 0 | return 8; |
547 | 0 | } |
548 | 0 | return static_cast<size_t>(count_trailing_zeroes(word)) / 8; |
549 | 0 | } |
550 | | |
551 | | inline size_t get_index_of_first_matching_byte(uint64_t word, uint64_t pattern) |
552 | 0 | { |
553 | 0 | constexpr auto mask = 0x7f7f7f7f7f7f7f7full; |
554 | 0 | auto input = word ^ pattern; |
555 | 0 | auto tmp = (input & mask) + mask; |
556 | 0 | tmp = ~(tmp | input | mask); |
557 | 0 | return static_cast<size_t>(count_trailing_zeroes(tmp)) / 8; |
558 | 0 | } |
559 | | |
560 | | constexpr uint32_t log2_fast(uint32_t val) |
561 | 0 | { |
562 | 0 | constexpr uint8_t lookup[] = {0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, |
563 | 0 | 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, |
564 | 0 | 24, 7, 19, 27, 23, 6, 26, 5, 4, 31}; |
565 | 0 |
|
566 | 0 | val |= val >> 1; |
567 | 0 | val |= val >> 2; |
568 | 0 | val |= val >> 4; |
569 | 0 | val |= val >> 8; |
570 | 0 | val |= val >> 16; |
571 | 0 |
|
572 | 0 | return static_cast<uint32_t>(lookup[(val * 0x07c4acddu) >> 27]); |
573 | 0 | } |
574 | | |
575 | | constexpr uint32_t log2_pow2_fast(uint32_t val) |
576 | 0 | { |
577 | 0 | constexpr uint8_t lookup[] = {0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, |
578 | 0 | 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, |
579 | 0 | 16, 7, 26, 12, 18, 6, 11, 5, 10, 9}; |
580 | 0 |
|
581 | 0 | return static_cast<uint32_t>(lookup[(val * 0x077cb531u) >> 27]); |
582 | 0 | } |
583 | | |
584 | | constexpr uint64_t byteswap(uint64_t val) |
585 | 0 | { |
586 | 0 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |
587 | 0 | (val & 0x0000FF0000000000) >> 24 | (val & 0x000000FF00000000) >> 8 | |
588 | 0 | (val & 0x00000000FF000000) << 8 | (val & 0x0000000000FF0000) << 24 | |
589 | 0 | (val & 0x000000000000FF00) << 40 | (val & 0x00000000000000FF) << 56; |
590 | 0 | } |
591 | | |
592 | | ///////////////////////////////////////////////////////////////// |
593 | | // <function_ref> |
594 | | ///////////////////////////////////////////////////////////////// |
595 | | |
596 | | namespace fnref_detail { |
597 | | template <class T> |
598 | | inline constexpr auto select_param_type = [] { |
599 | | if constexpr (std::is_trivially_copyable_v<T>) { |
600 | | return detail::type_identity<T>(); |
601 | | } |
602 | | else { |
603 | | return std::add_rvalue_reference<T>(); |
604 | | } |
605 | | }; |
606 | | |
607 | | template <class T> |
608 | | using param_t = |
609 | | typename std::invoke_result_t<decltype(select_param_type<T>)>::type; |
610 | | |
611 | | template <typename Sig> |
612 | | struct qual_fn_sig; |
613 | | |
614 | | template <typename R, typename... Args> |
615 | | struct qual_fn_sig<R(Args...)> { |
616 | | using function = R(Args...); |
617 | | |
618 | | static constexpr bool is_noexcept = false; |
619 | | |
620 | | template <typename... T> |
621 | | static constexpr bool is_invocable_using = |
622 | | std::is_invocable_r_v<R, T..., Args...>; |
623 | | |
624 | | template <typename T> |
625 | | using cv = T; |
626 | | }; |
627 | | |
628 | | template <typename R, typename... Args> |
629 | | struct qual_fn_sig<R(Args...) noexcept> { |
630 | | using function = R(Args...); |
631 | | |
632 | | static constexpr bool is_noexcept = true; |
633 | | |
634 | | template <typename... T> |
635 | | static constexpr bool is_invocable_using = |
636 | | std::is_nothrow_invocable_r_v<R, T..., Args...>; |
637 | | |
638 | | template <typename T> |
639 | | using cv = T; |
640 | | }; |
641 | | |
642 | | template <typename R, typename... Args> |
643 | | struct qual_fn_sig<R(Args...) const> : qual_fn_sig<R(Args...)> { |
644 | | template <typename T> |
645 | | using cv = T const; |
646 | | }; |
647 | | |
648 | | template <typename R, typename... Args> |
649 | | struct qual_fn_sig<R(Args...) const noexcept> |
650 | | : qual_fn_sig<R(Args...) noexcept> { |
651 | | template <typename T> |
652 | | using cv = T const; |
653 | | }; |
654 | | |
655 | | struct base { |
656 | | union storage { |
657 | | constexpr storage() = default; |
658 | | |
659 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
660 | 404k | constexpr explicit storage(T* p) noexcept : m_p(p) |
661 | 404k | { |
662 | 404k | } _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbcES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 2.66k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.66k | { | 662 | 2.66k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbDiES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 167k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 167k | { | 662 | 167k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 35.5k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 35.5k | { | 662 | 35.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 1.00k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.00k | { | 662 | 1.00k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 534 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 534 | { | 662 | 534 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 344 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 344 | { | 662 | 344 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 12 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 12 | { | 662 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 340 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 340 | { | 662 | 340 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 278 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 278 | { | 662 | 278 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 930 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 930 | { | 662 | 930 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 42 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 42 | { | 662 | 42 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 42 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 42 | { | 662 | 42 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 42 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 42 | { | 662 | 42 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbwES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 1.46k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.46k | { | 662 | 1.46k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 3.11k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 3.11k | { | 662 | 3.11k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 56.1k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 56.1k | { | 662 | 56.1k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 424 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 424 | { | 662 | 424 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 372 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 372 | { | 662 | 372 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 104k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 104k | { | 662 | 104k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 136 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 136 | { | 662 | 136 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 12 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 12 | { | 662 | 12 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 134 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 134 | { | 662 | 134 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 12 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 12 | { | 662 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 326 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 326 | { | 662 | 326 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 372 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 372 | { | 662 | 372 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 14 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 14 | { | 662 | 14 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 18.1k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 18.1k | { | 662 | 18.1k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 38 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 38 | { | 662 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 14 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 14 | { | 662 | 14 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 38 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 38 | { | 662 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 14 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 14 | { | 662 | 14 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 38 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 38 | { | 662 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 628 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 628 | { | 662 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 2.28k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.28k | { | 662 | 2.28k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 5.72k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 5.72k | { | 662 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 980 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 980 | { | 662 | 980 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ |
663 | | |
664 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
665 | 5.98k | constexpr explicit storage(const T* p) noexcept : m_cp(p) |
666 | 5.98k | { |
667 | 5.98k | } Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 502 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 502 | { | 667 | 502 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 450 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 450 | { | 667 | 450 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 348 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 348 | { | 667 | 348 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 2.29k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 2.29k | { | 667 | 2.29k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 234 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 234 | { | 667 | 234 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 512 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 512 | { | 667 | 512 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 282 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 282 | { | 667 | 282 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 144 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 144 | { | 667 | 144 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 372 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 372 | { | 667 | 372 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 120 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 120 | { | 667 | 120 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 480 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 480 | { | 667 | 480 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 242 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 242 | { | 667 | 242 | } |
|
668 | | |
669 | | template <typename F, |
670 | | std::enable_if_t<std::is_function_v<F>>* = nullptr> |
671 | | constexpr explicit storage(F* f) noexcept |
672 | | : m_fp(reinterpret_cast<decltype(m_fp)>(f)) |
673 | | { |
674 | | } |
675 | | |
676 | | void* m_p{nullptr}; |
677 | | const void* m_cp; |
678 | | void (*m_fp)(); |
679 | | }; |
680 | | |
681 | | template <typename T> |
682 | | static constexpr auto get(storage s) |
683 | 1.11M | { |
684 | 1.11M | if constexpr (std::is_const_v<T>) { |
685 | 285k | return static_cast<T*>(s.m_cp); |
686 | | } |
687 | 829k | else if constexpr (std::is_object_v<T>) { |
688 | 829k | return static_cast<T*>(s.m_p); |
689 | | } |
690 | | else { |
691 | | return reinterpret_cast<T*>(s.m_fp); |
692 | | } |
693 | 1.11M | } auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char), bool (char)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 6.85k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6.85k | else if constexpr (std::is_object_v<T>) { | 688 | 6.85k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.85k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 459k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 459k | else if constexpr (std::is_object_v<T>) { | 688 | 459k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 459k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 47.2k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 47.2k | else if constexpr (std::is_object_v<T>) { | 688 | 47.2k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 47.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIcNS6_11char_traitsIcEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.00k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.00k | else if constexpr (std::is_object_v<T>) { | 688 | 1.00k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.00k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 920 | { | 684 | 920 | if constexpr (std::is_const_v<T>) { | 685 | 920 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 920 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.47k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.47k | else if constexpr (std::is_object_v<T>) { | 688 | 1.47k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.47k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 344 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 344 | else if constexpr (std::is_object_v<T>) { | 688 | 344 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 344 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 22 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 22 | else if constexpr (std::is_object_v<T>) { | 688 | 22 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 12 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 12 | else if constexpr (std::is_object_v<T>) { | 688 | 12 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 340 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 340 | else if constexpr (std::is_object_v<T>) { | 688 | 340 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 340 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 278 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 278 | else if constexpr (std::is_object_v<T>) { | 688 | 278 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 278 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 11.5k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 11.5k | else if constexpr (std::is_object_v<T>) { | 688 | 11.5k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 11.5k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 710 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 710 | else if constexpr (std::is_object_v<T>) { | 688 | 710 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 710 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 11.8k | { | 684 | 11.8k | if constexpr (std::is_const_v<T>) { | 685 | 11.8k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 11.8k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 6.94k | { | 684 | 6.94k | if constexpr (std::is_const_v<T>) { | 685 | 6.94k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.94k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 248k | { | 684 | 248k | if constexpr (std::is_const_v<T>) { | 685 | 248k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 248k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.28k | { | 684 | 3.28k | if constexpr (std::is_const_v<T>) { | 685 | 3.28k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.28k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 710 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 710 | else if constexpr (std::is_object_v<T>) { | 688 | 710 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 710 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 710 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 710 | else if constexpr (std::is_object_v<T>) { | 688 | 710 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 710 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 4.14k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 4.14k | else if constexpr (std::is_object_v<T>) { | 688 | 4.14k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4.14k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlwE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 7.46k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.46k | else if constexpr (std::is_object_v<T>) { | 688 | 7.46k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.46k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 39.6k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 39.6k | else if constexpr (std::is_object_v<T>) { | 688 | 39.6k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 39.6k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 424 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 424 | else if constexpr (std::is_object_v<T>) { | 688 | 424 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 424 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 952 | { | 684 | 952 | if constexpr (std::is_const_v<T>) { | 685 | 952 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 952 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 536 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 536 | else if constexpr (std::is_object_v<T>) { | 688 | 536 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 536 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 155k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 155k | else if constexpr (std::is_object_v<T>) { | 688 | 155k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 155k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 136 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 136 | else if constexpr (std::is_object_v<T>) { | 688 | 136 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 136 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 12 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 12 | else if constexpr (std::is_object_v<T>) { | 688 | 12 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 12 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 134 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 134 | else if constexpr (std::is_object_v<T>) { | 688 | 134 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 134 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 12 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 12 | else if constexpr (std::is_object_v<T>) { | 688 | 12 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 326 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 326 | else if constexpr (std::is_object_v<T>) { | 688 | 326 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 326 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.12k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.12k | else if constexpr (std::is_object_v<T>) { | 688 | 7.12k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.12k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 62 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 62 | else if constexpr (std::is_object_v<T>) { | 688 | 62 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 62 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 4.29k | { | 684 | 4.29k | if constexpr (std::is_const_v<T>) { | 685 | 4.29k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4.29k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.53k | { | 684 | 1.53k | if constexpr (std::is_const_v<T>) { | 685 | 1.53k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.53k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 69.2k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 69.2k | else if constexpr (std::is_object_v<T>) { | 688 | 69.2k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 69.2k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 488 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 488 | else if constexpr (std::is_object_v<T>) { | 688 | 488 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 488 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 4.38k | { | 684 | 4.38k | if constexpr (std::is_const_v<T>) { | 685 | 4.38k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4.38k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.45k | { | 684 | 1.45k | if constexpr (std::is_const_v<T>) { | 685 | 1.45k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.45k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 62 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 62 | else if constexpr (std::is_object_v<T>) { | 688 | 62 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 62 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 488 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 488 | else if constexpr (std::is_object_v<T>) { | 688 | 488 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 488 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 62 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 62 | else if constexpr (std::is_object_v<T>) { | 688 | 62 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 62 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 488 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 488 | else if constexpr (std::is_object_v<T>) { | 688 | 488 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 488 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 628 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 628 | else if constexpr (std::is_object_v<T>) { | 688 | 628 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 696 | { | 684 | 696 | if constexpr (std::is_const_v<T>) { | 685 | 696 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 696 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.45k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.45k | else if constexpr (std::is_object_v<T>) { | 688 | 3.45k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.45k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 5.72k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 5.72k | else if constexpr (std::is_object_v<T>) { | 688 | 5.72k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 348 | { | 684 | 348 | if constexpr (std::is_const_v<T>) { | 685 | 348 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 348 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.02k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.02k | else if constexpr (std::is_object_v<T>) { | 688 | 1.02k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.02k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE |
694 | | }; |
695 | | } // namespace fnref_detail |
696 | | |
697 | | template <typename Sig, |
698 | | typename = typename fnref_detail::qual_fn_sig<Sig>::function> |
699 | | class function_ref; |
700 | | |
701 | | template <typename Sig, typename R, typename... Args> |
702 | | class function_ref<Sig, R(Args...)> : fnref_detail::base { |
703 | | using signature = fnref_detail::qual_fn_sig<Sig>; |
704 | | |
705 | | template <typename T> |
706 | | using cv = typename signature::template cv<T>; |
707 | | template <typename T> |
708 | | using cvref = cv<T>&; |
709 | | static constexpr bool noex = signature::is_noexcept; |
710 | | |
711 | | template <typename... T> |
712 | | static constexpr bool is_invocable_using = |
713 | | signature::template is_invocable_using<T...>; |
714 | | |
715 | | using fwd_t = R(storage, fnref_detail::param_t<Args>...) noexcept(noex); |
716 | | |
717 | | public: |
718 | | template <typename F, |
719 | | std::enable_if_t<std::is_function_v<F> && |
720 | | is_invocable_using<F>>* = nullptr> |
721 | | /*implicit*/ function_ref(F* f) noexcept |
722 | | : m_fptr([](storage fn, |
723 | | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
724 | | if constexpr (std::is_void_v<R>) { |
725 | | get<F>(fn)(static_cast<decltype(args)>(args)...); |
726 | | } |
727 | | else { |
728 | | return get<F>(fn)(static_cast<decltype(args)>(args)...); |
729 | | } |
730 | | }), |
731 | | m_storage(f) |
732 | | { |
733 | | SCN_EXPECT(f != nullptr); |
734 | | } |
735 | | |
736 | | template <typename F, |
737 | | typename T = std::remove_reference_t<F>, |
738 | | std::enable_if_t<detail::is_not_self<F, function_ref> && |
739 | | !std::is_member_pointer_v<T> && |
740 | | is_invocable_using<cvref<T>>>* = nullptr> |
741 | | /*implicit*/ constexpr function_ref(F&& f) noexcept |
742 | 410k | : m_fptr([](storage fn, |
743 | 1.11M | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
744 | 1.11M | cvref<T> obj = *get<T>(fn); |
745 | 1.11M | if constexpr (std::is_void_v<R>) { |
746 | 54.7k | obj(static_cast<decltype(args)>(args)...); |
747 | | } |
748 | 1.05M | else { |
749 | 1.05M | return obj(static_cast<decltype(args)>(args)...); |
750 | 1.05M | } |
751 | 1.11M | }), _ZZN3scn2v44impl12function_refIFbcES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEcE_clESK_c Line | Count | Source | 743 | 6.85k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.85k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.85k | else { | 749 | 6.85k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.85k | } | 751 | 6.85k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES17_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEDiE_clESK_Di Line | Count | Source | 743 | 459k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 459k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 459k | else { | 749 | 459k | return obj(static_cast<decltype(args)>(args)...); | 750 | 459k | } | 751 | 459k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 47.2k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 47.2k | cvref<T> obj = *get<T>(fn); | 745 | 47.2k | if constexpr (std::is_void_v<R>) { | 746 | 47.2k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 47.2k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c Line | Count | Source | 743 | 1.00k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.00k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.00k | else { | 749 | 1.00k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.00k | } | 751 | 1.00k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 920 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 920 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 920 | else { | 749 | 920 | return obj(static_cast<decltype(args)>(args)...); | 750 | 920 | } | 751 | 920 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 1.47k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.47k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.47k | else { | 749 | 1.47k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.47k | } | 751 | 1.47k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1A_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 344 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 344 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 344 | else { | 749 | 344 | return obj(static_cast<decltype(args)>(args)...); | 750 | 344 | } | 751 | 344 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEcE_clES12_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Line | Count | Source | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 340 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 340 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 340 | else { | 749 | 340 | return obj(static_cast<decltype(args)>(args)...); | 750 | 340 | } | 751 | 340 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 278 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 278 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 278 | else { | 749 | 278 | return obj(static_cast<decltype(args)>(args)...); | 750 | 278 | } | 751 | 278 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 11.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 11.5k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 11.5k | else { | 749 | 11.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 11.5k | } | 751 | 11.5k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 710 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 710 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 710 | else { | 749 | 710 | return obj(static_cast<decltype(args)>(args)...); | 750 | 710 | } | 751 | 710 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 11.8k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 11.8k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 11.8k | else { | 749 | 11.8k | return obj(static_cast<decltype(args)>(args)...); | 750 | 11.8k | } | 751 | 11.8k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 6.94k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.94k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.94k | else { | 749 | 6.94k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.94k | } | 751 | 6.94k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 248k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 248k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 248k | else { | 749 | 248k | return obj(static_cast<decltype(args)>(args)...); | 750 | 248k | } | 751 | 248k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 3.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.28k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.28k | else { | 749 | 3.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.28k | } | 751 | 3.28k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 710 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 710 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 710 | else { | 749 | 710 | return obj(static_cast<decltype(args)>(args)...); | 750 | 710 | } | 751 | 710 | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 710 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 710 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 710 | else { | 749 | 710 | return obj(static_cast<decltype(args)>(args)...); | 750 | 710 | } | 751 | 710 | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v44impl12function_refIFbwES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEwE_clESK_w Line | Count | Source | 743 | 4.14k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.14k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4.14k | else { | 749 | 4.14k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.14k | } | 751 | 4.14k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES17_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 7.46k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.46k | cvref<T> obj = *get<T>(fn); | 745 | 7.46k | if constexpr (std::is_void_v<R>) { | 746 | 7.46k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 7.46k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 39.6k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 39.6k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 39.6k | else { | 749 | 39.6k | return obj(static_cast<decltype(args)>(args)...); | 750 | 39.6k | } | 751 | 39.6k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w Line | Count | Source | 743 | 424 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 424 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 424 | else { | 749 | 424 | return obj(static_cast<decltype(args)>(args)...); | 750 | 424 | } | 751 | 424 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 952 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 952 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 952 | else { | 749 | 952 | return obj(static_cast<decltype(args)>(args)...); | 750 | 952 | } | 751 | 952 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 536 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 536 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 536 | else { | 749 | 536 | return obj(static_cast<decltype(args)>(args)...); | 750 | 536 | } | 751 | 536 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 155k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 155k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 155k | else { | 749 | 155k | return obj(static_cast<decltype(args)>(args)...); | 750 | 155k | } | 751 | 155k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1A_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 136 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 136 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 136 | else { | 749 | 136 | return obj(static_cast<decltype(args)>(args)...); | 750 | 136 | } | 751 | 136 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEwE_clES12_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Line | Count | Source | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 134 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 134 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 134 | else { | 749 | 134 | return obj(static_cast<decltype(args)>(args)...); | 750 | 134 | } | 751 | 134 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 326 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 326 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 326 | else { | 749 | 326 | return obj(static_cast<decltype(args)>(args)...); | 750 | 326 | } | 751 | 326 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 7.12k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.12k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.12k | else { | 749 | 7.12k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.12k | } | 751 | 7.12k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 62 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 62 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 62 | else { | 749 | 62 | return obj(static_cast<decltype(args)>(args)...); | 750 | 62 | } | 751 | 62 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 4.29k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.29k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4.29k | else { | 749 | 4.29k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.29k | } | 751 | 4.29k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 1.53k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.53k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.53k | else { | 749 | 1.53k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.53k | } | 751 | 1.53k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 69.2k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 69.2k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 69.2k | else { | 749 | 69.2k | return obj(static_cast<decltype(args)>(args)...); | 750 | 69.2k | } | 751 | 69.2k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 488 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 488 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 488 | else { | 749 | 488 | return obj(static_cast<decltype(args)>(args)...); | 750 | 488 | } | 751 | 488 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 4.38k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.38k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4.38k | else { | 749 | 4.38k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.38k | } | 751 | 4.38k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 1.45k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.45k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.45k | else { | 749 | 1.45k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.45k | } | 751 | 1.45k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 62 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 62 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 62 | else { | 749 | 62 | return obj(static_cast<decltype(args)>(args)...); | 750 | 62 | } | 751 | 62 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 488 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 488 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 488 | else { | 749 | 488 | return obj(static_cast<decltype(args)>(args)...); | 750 | 488 | } | 751 | 488 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 62 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 62 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 62 | else { | 749 | 62 | return obj(static_cast<decltype(args)>(args)...); | 750 | 62 | } | 751 | 62 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Line | Count | Source | 743 | 488 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 488 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 488 | else { | 749 | 488 | return obj(static_cast<decltype(args)>(args)...); | 750 | 488 | } | 751 | 488 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 628 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 628 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 628 | else { | 749 | 628 | return obj(static_cast<decltype(args)>(args)...); | 750 | 628 | } | 751 | 628 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 696 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 696 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 696 | else { | 749 | 696 | return obj(static_cast<decltype(args)>(args)...); | 750 | 696 | } | 751 | 696 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 3.45k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.45k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.45k | else { | 749 | 3.45k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.45k | } | 751 | 3.45k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 5.72k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.72k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 5.72k | else { | 749 | 5.72k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.72k | } | 751 | 5.72k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 348 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 348 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 348 | else { | 749 | 348 | return obj(static_cast<decltype(args)>(args)...); | 750 | 348 | } | 751 | 348 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 1.02k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.02k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.02k | else { | 749 | 1.02k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.02k | } | 751 | 1.02k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ |
752 | 410k | m_storage(std::addressof(f)) |
753 | 410k | { |
754 | 410k | } _ZN3scn2v44impl12function_refIFbcES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 2.66k | : m_fptr([](storage fn, | 743 | 2.66k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.66k | cvref<T> obj = *get<T>(fn); | 745 | 2.66k | if constexpr (std::is_void_v<R>) { | 746 | 2.66k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.66k | } | 748 | 2.66k | else { | 749 | 2.66k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.66k | } | 751 | 2.66k | }), | 752 | 2.66k | m_storage(std::addressof(f)) | 753 | 2.66k | { | 754 | 2.66k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 167k | : m_fptr([](storage fn, | 743 | 167k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 167k | cvref<T> obj = *get<T>(fn); | 745 | 167k | if constexpr (std::is_void_v<R>) { | 746 | 167k | obj(static_cast<decltype(args)>(args)...); | 747 | 167k | } | 748 | 167k | else { | 749 | 167k | return obj(static_cast<decltype(args)>(args)...); | 750 | 167k | } | 751 | 167k | }), | 752 | 167k | m_storage(std::addressof(f)) | 753 | 167k | { | 754 | 167k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 35.5k | : m_fptr([](storage fn, | 743 | 35.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 35.5k | cvref<T> obj = *get<T>(fn); | 745 | 35.5k | if constexpr (std::is_void_v<R>) { | 746 | 35.5k | obj(static_cast<decltype(args)>(args)...); | 747 | 35.5k | } | 748 | 35.5k | else { | 749 | 35.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 35.5k | } | 751 | 35.5k | }), | 752 | 35.5k | m_storage(std::addressof(f)) | 753 | 35.5k | { | 754 | 35.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 1.00k | : m_fptr([](storage fn, | 743 | 1.00k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.00k | cvref<T> obj = *get<T>(fn); | 745 | 1.00k | if constexpr (std::is_void_v<R>) { | 746 | 1.00k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.00k | } | 748 | 1.00k | else { | 749 | 1.00k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.00k | } | 751 | 1.00k | }), | 752 | 1.00k | m_storage(std::addressof(f)) | 753 | 1.00k | { | 754 | 1.00k | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 502 | : m_fptr([](storage fn, | 743 | 502 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 502 | cvref<T> obj = *get<T>(fn); | 745 | 502 | if constexpr (std::is_void_v<R>) { | 746 | 502 | obj(static_cast<decltype(args)>(args)...); | 747 | 502 | } | 748 | 502 | else { | 749 | 502 | return obj(static_cast<decltype(args)>(args)...); | 750 | 502 | } | 751 | 502 | }), | 752 | 502 | m_storage(std::addressof(f)) | 753 | 502 | { | 754 | 502 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 534 | : m_fptr([](storage fn, | 743 | 534 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 534 | cvref<T> obj = *get<T>(fn); | 745 | 534 | if constexpr (std::is_void_v<R>) { | 746 | 534 | obj(static_cast<decltype(args)>(args)...); | 747 | 534 | } | 748 | 534 | else { | 749 | 534 | return obj(static_cast<decltype(args)>(args)...); | 750 | 534 | } | 751 | 534 | }), | 752 | 534 | m_storage(std::addressof(f)) | 753 | 534 | { | 754 | 534 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 344 | : m_fptr([](storage fn, | 743 | 344 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 344 | cvref<T> obj = *get<T>(fn); | 745 | 344 | if constexpr (std::is_void_v<R>) { | 746 | 344 | obj(static_cast<decltype(args)>(args)...); | 747 | 344 | } | 748 | 344 | else { | 749 | 344 | return obj(static_cast<decltype(args)>(args)...); | 750 | 344 | } | 751 | 344 | }), | 752 | 344 | m_storage(std::addressof(f)) | 753 | 344 | { | 754 | 344 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 12 | : m_fptr([](storage fn, | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | 12 | if constexpr (std::is_void_v<R>) { | 746 | 12 | obj(static_cast<decltype(args)>(args)...); | 747 | 12 | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), | 752 | 12 | m_storage(std::addressof(f)) | 753 | 12 | { | 754 | 12 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 340 | : m_fptr([](storage fn, | 743 | 340 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 340 | cvref<T> obj = *get<T>(fn); | 745 | 340 | if constexpr (std::is_void_v<R>) { | 746 | 340 | obj(static_cast<decltype(args)>(args)...); | 747 | 340 | } | 748 | 340 | else { | 749 | 340 | return obj(static_cast<decltype(args)>(args)...); | 750 | 340 | } | 751 | 340 | }), | 752 | 340 | m_storage(std::addressof(f)) | 753 | 340 | { | 754 | 340 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 278 | : m_fptr([](storage fn, | 743 | 278 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 278 | cvref<T> obj = *get<T>(fn); | 745 | 278 | if constexpr (std::is_void_v<R>) { | 746 | 278 | obj(static_cast<decltype(args)>(args)...); | 747 | 278 | } | 748 | 278 | else { | 749 | 278 | return obj(static_cast<decltype(args)>(args)...); | 750 | 278 | } | 751 | 278 | }), | 752 | 278 | m_storage(std::addressof(f)) | 753 | 278 | { | 754 | 278 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 930 | : m_fptr([](storage fn, | 743 | 930 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 930 | cvref<T> obj = *get<T>(fn); | 745 | 930 | if constexpr (std::is_void_v<R>) { | 746 | 930 | obj(static_cast<decltype(args)>(args)...); | 747 | 930 | } | 748 | 930 | else { | 749 | 930 | return obj(static_cast<decltype(args)>(args)...); | 750 | 930 | } | 751 | 930 | }), | 752 | 930 | m_storage(std::addressof(f)) | 753 | 930 | { | 754 | 930 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 42 | : m_fptr([](storage fn, | 743 | 42 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 42 | cvref<T> obj = *get<T>(fn); | 745 | 42 | if constexpr (std::is_void_v<R>) { | 746 | 42 | obj(static_cast<decltype(args)>(args)...); | 747 | 42 | } | 748 | 42 | else { | 749 | 42 | return obj(static_cast<decltype(args)>(args)...); | 750 | 42 | } | 751 | 42 | }), | 752 | 42 | m_storage(std::addressof(f)) | 753 | 42 | { | 754 | 42 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 450 | : m_fptr([](storage fn, | 743 | 450 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 450 | cvref<T> obj = *get<T>(fn); | 745 | 450 | if constexpr (std::is_void_v<R>) { | 746 | 450 | obj(static_cast<decltype(args)>(args)...); | 747 | 450 | } | 748 | 450 | else { | 749 | 450 | return obj(static_cast<decltype(args)>(args)...); | 750 | 450 | } | 751 | 450 | }), | 752 | 450 | m_storage(std::addressof(f)) | 753 | 450 | { | 754 | 450 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 348 | : m_fptr([](storage fn, | 743 | 348 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 348 | cvref<T> obj = *get<T>(fn); | 745 | 348 | if constexpr (std::is_void_v<R>) { | 746 | 348 | obj(static_cast<decltype(args)>(args)...); | 747 | 348 | } | 748 | 348 | else { | 749 | 348 | return obj(static_cast<decltype(args)>(args)...); | 750 | 348 | } | 751 | 348 | }), | 752 | 348 | m_storage(std::addressof(f)) | 753 | 348 | { | 754 | 348 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.29k | : m_fptr([](storage fn, | 743 | 2.29k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.29k | cvref<T> obj = *get<T>(fn); | 745 | 2.29k | if constexpr (std::is_void_v<R>) { | 746 | 2.29k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.29k | } | 748 | 2.29k | else { | 749 | 2.29k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.29k | } | 751 | 2.29k | }), | 752 | 2.29k | m_storage(std::addressof(f)) | 753 | 2.29k | { | 754 | 2.29k | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 234 | : m_fptr([](storage fn, | 743 | 234 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 234 | cvref<T> obj = *get<T>(fn); | 745 | 234 | if constexpr (std::is_void_v<R>) { | 746 | 234 | obj(static_cast<decltype(args)>(args)...); | 747 | 234 | } | 748 | 234 | else { | 749 | 234 | return obj(static_cast<decltype(args)>(args)...); | 750 | 234 | } | 751 | 234 | }), | 752 | 234 | m_storage(std::addressof(f)) | 753 | 234 | { | 754 | 234 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 42 | : m_fptr([](storage fn, | 743 | 42 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 42 | cvref<T> obj = *get<T>(fn); | 745 | 42 | if constexpr (std::is_void_v<R>) { | 746 | 42 | obj(static_cast<decltype(args)>(args)...); | 747 | 42 | } | 748 | 42 | else { | 749 | 42 | return obj(static_cast<decltype(args)>(args)...); | 750 | 42 | } | 751 | 42 | }), | 752 | 42 | m_storage(std::addressof(f)) | 753 | 42 | { | 754 | 42 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 42 | : m_fptr([](storage fn, | 743 | 42 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 42 | cvref<T> obj = *get<T>(fn); | 745 | 42 | if constexpr (std::is_void_v<R>) { | 746 | 42 | obj(static_cast<decltype(args)>(args)...); | 747 | 42 | } | 748 | 42 | else { | 749 | 42 | return obj(static_cast<decltype(args)>(args)...); | 750 | 42 | } | 751 | 42 | }), | 752 | 42 | m_storage(std::addressof(f)) | 753 | 42 | { | 754 | 42 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 1.46k | : m_fptr([](storage fn, | 743 | 1.46k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.46k | cvref<T> obj = *get<T>(fn); | 745 | 1.46k | if constexpr (std::is_void_v<R>) { | 746 | 1.46k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.46k | } | 748 | 1.46k | else { | 749 | 1.46k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.46k | } | 751 | 1.46k | }), | 752 | 1.46k | m_storage(std::addressof(f)) | 753 | 1.46k | { | 754 | 1.46k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 3.11k | : m_fptr([](storage fn, | 743 | 3.11k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.11k | cvref<T> obj = *get<T>(fn); | 745 | 3.11k | if constexpr (std::is_void_v<R>) { | 746 | 3.11k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.11k | } | 748 | 3.11k | else { | 749 | 3.11k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.11k | } | 751 | 3.11k | }), | 752 | 3.11k | m_storage(std::addressof(f)) | 753 | 3.11k | { | 754 | 3.11k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 56.1k | : m_fptr([](storage fn, | 743 | 56.1k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 56.1k | cvref<T> obj = *get<T>(fn); | 745 | 56.1k | if constexpr (std::is_void_v<R>) { | 746 | 56.1k | obj(static_cast<decltype(args)>(args)...); | 747 | 56.1k | } | 748 | 56.1k | else { | 749 | 56.1k | return obj(static_cast<decltype(args)>(args)...); | 750 | 56.1k | } | 751 | 56.1k | }), | 752 | 56.1k | m_storage(std::addressof(f)) | 753 | 56.1k | { | 754 | 56.1k | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 424 | : m_fptr([](storage fn, | 743 | 424 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 424 | cvref<T> obj = *get<T>(fn); | 745 | 424 | if constexpr (std::is_void_v<R>) { | 746 | 424 | obj(static_cast<decltype(args)>(args)...); | 747 | 424 | } | 748 | 424 | else { | 749 | 424 | return obj(static_cast<decltype(args)>(args)...); | 750 | 424 | } | 751 | 424 | }), | 752 | 424 | m_storage(std::addressof(f)) | 753 | 424 | { | 754 | 424 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 512 | : m_fptr([](storage fn, | 743 | 512 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 512 | cvref<T> obj = *get<T>(fn); | 745 | 512 | if constexpr (std::is_void_v<R>) { | 746 | 512 | obj(static_cast<decltype(args)>(args)...); | 747 | 512 | } | 748 | 512 | else { | 749 | 512 | return obj(static_cast<decltype(args)>(args)...); | 750 | 512 | } | 751 | 512 | }), | 752 | 512 | m_storage(std::addressof(f)) | 753 | 512 | { | 754 | 512 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 372 | : m_fptr([](storage fn, | 743 | 372 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 372 | cvref<T> obj = *get<T>(fn); | 745 | 372 | if constexpr (std::is_void_v<R>) { | 746 | 372 | obj(static_cast<decltype(args)>(args)...); | 747 | 372 | } | 748 | 372 | else { | 749 | 372 | return obj(static_cast<decltype(args)>(args)...); | 750 | 372 | } | 751 | 372 | }), | 752 | 372 | m_storage(std::addressof(f)) | 753 | 372 | { | 754 | 372 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 104k | : m_fptr([](storage fn, | 743 | 104k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 104k | cvref<T> obj = *get<T>(fn); | 745 | 104k | if constexpr (std::is_void_v<R>) { | 746 | 104k | obj(static_cast<decltype(args)>(args)...); | 747 | 104k | } | 748 | 104k | else { | 749 | 104k | return obj(static_cast<decltype(args)>(args)...); | 750 | 104k | } | 751 | 104k | }), | 752 | 104k | m_storage(std::addressof(f)) | 753 | 104k | { | 754 | 104k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 136 | : m_fptr([](storage fn, | 743 | 136 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 136 | cvref<T> obj = *get<T>(fn); | 745 | 136 | if constexpr (std::is_void_v<R>) { | 746 | 136 | obj(static_cast<decltype(args)>(args)...); | 747 | 136 | } | 748 | 136 | else { | 749 | 136 | return obj(static_cast<decltype(args)>(args)...); | 750 | 136 | } | 751 | 136 | }), | 752 | 136 | m_storage(std::addressof(f)) | 753 | 136 | { | 754 | 136 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 12 | : m_fptr([](storage fn, | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | 12 | if constexpr (std::is_void_v<R>) { | 746 | 12 | obj(static_cast<decltype(args)>(args)...); | 747 | 12 | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), | 752 | 12 | m_storage(std::addressof(f)) | 753 | 12 | { | 754 | 12 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 134 | : m_fptr([](storage fn, | 743 | 134 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 134 | cvref<T> obj = *get<T>(fn); | 745 | 134 | if constexpr (std::is_void_v<R>) { | 746 | 134 | obj(static_cast<decltype(args)>(args)...); | 747 | 134 | } | 748 | 134 | else { | 749 | 134 | return obj(static_cast<decltype(args)>(args)...); | 750 | 134 | } | 751 | 134 | }), | 752 | 134 | m_storage(std::addressof(f)) | 753 | 134 | { | 754 | 134 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 12 | : m_fptr([](storage fn, | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | 12 | if constexpr (std::is_void_v<R>) { | 746 | 12 | obj(static_cast<decltype(args)>(args)...); | 747 | 12 | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), | 752 | 12 | m_storage(std::addressof(f)) | 753 | 12 | { | 754 | 12 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 326 | : m_fptr([](storage fn, | 743 | 326 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 326 | cvref<T> obj = *get<T>(fn); | 745 | 326 | if constexpr (std::is_void_v<R>) { | 746 | 326 | obj(static_cast<decltype(args)>(args)...); | 747 | 326 | } | 748 | 326 | else { | 749 | 326 | return obj(static_cast<decltype(args)>(args)...); | 750 | 326 | } | 751 | 326 | }), | 752 | 326 | m_storage(std::addressof(f)) | 753 | 326 | { | 754 | 326 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 372 | : m_fptr([](storage fn, | 743 | 372 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 372 | cvref<T> obj = *get<T>(fn); | 745 | 372 | if constexpr (std::is_void_v<R>) { | 746 | 372 | obj(static_cast<decltype(args)>(args)...); | 747 | 372 | } | 748 | 372 | else { | 749 | 372 | return obj(static_cast<decltype(args)>(args)...); | 750 | 372 | } | 751 | 372 | }), | 752 | 372 | m_storage(std::addressof(f)) | 753 | 372 | { | 754 | 372 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 14 | : m_fptr([](storage fn, | 743 | 14 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 14 | cvref<T> obj = *get<T>(fn); | 745 | 14 | if constexpr (std::is_void_v<R>) { | 746 | 14 | obj(static_cast<decltype(args)>(args)...); | 747 | 14 | } | 748 | 14 | else { | 749 | 14 | return obj(static_cast<decltype(args)>(args)...); | 750 | 14 | } | 751 | 14 | }), | 752 | 14 | m_storage(std::addressof(f)) | 753 | 14 | { | 754 | 14 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 282 | : m_fptr([](storage fn, | 743 | 282 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 282 | cvref<T> obj = *get<T>(fn); | 745 | 282 | if constexpr (std::is_void_v<R>) { | 746 | 282 | obj(static_cast<decltype(args)>(args)...); | 747 | 282 | } | 748 | 282 | else { | 749 | 282 | return obj(static_cast<decltype(args)>(args)...); | 750 | 282 | } | 751 | 282 | }), | 752 | 282 | m_storage(std::addressof(f)) | 753 | 282 | { | 754 | 282 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 144 | : m_fptr([](storage fn, | 743 | 144 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 144 | cvref<T> obj = *get<T>(fn); | 745 | 144 | if constexpr (std::is_void_v<R>) { | 746 | 144 | obj(static_cast<decltype(args)>(args)...); | 747 | 144 | } | 748 | 144 | else { | 749 | 144 | return obj(static_cast<decltype(args)>(args)...); | 750 | 144 | } | 751 | 144 | }), | 752 | 144 | m_storage(std::addressof(f)) | 753 | 144 | { | 754 | 144 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 18.1k | : m_fptr([](storage fn, | 743 | 18.1k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18.1k | cvref<T> obj = *get<T>(fn); | 745 | 18.1k | if constexpr (std::is_void_v<R>) { | 746 | 18.1k | obj(static_cast<decltype(args)>(args)...); | 747 | 18.1k | } | 748 | 18.1k | else { | 749 | 18.1k | return obj(static_cast<decltype(args)>(args)...); | 750 | 18.1k | } | 751 | 18.1k | }), | 752 | 18.1k | m_storage(std::addressof(f)) | 753 | 18.1k | { | 754 | 18.1k | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 38 | : m_fptr([](storage fn, | 743 | 38 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 38 | cvref<T> obj = *get<T>(fn); | 745 | 38 | if constexpr (std::is_void_v<R>) { | 746 | 38 | obj(static_cast<decltype(args)>(args)...); | 747 | 38 | } | 748 | 38 | else { | 749 | 38 | return obj(static_cast<decltype(args)>(args)...); | 750 | 38 | } | 751 | 38 | }), | 752 | 38 | m_storage(std::addressof(f)) | 753 | 38 | { | 754 | 38 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 372 | : m_fptr([](storage fn, | 743 | 372 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 372 | cvref<T> obj = *get<T>(fn); | 745 | 372 | if constexpr (std::is_void_v<R>) { | 746 | 372 | obj(static_cast<decltype(args)>(args)...); | 747 | 372 | } | 748 | 372 | else { | 749 | 372 | return obj(static_cast<decltype(args)>(args)...); | 750 | 372 | } | 751 | 372 | }), | 752 | 372 | m_storage(std::addressof(f)) | 753 | 372 | { | 754 | 372 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 120 | : m_fptr([](storage fn, | 743 | 120 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 120 | cvref<T> obj = *get<T>(fn); | 745 | 120 | if constexpr (std::is_void_v<R>) { | 746 | 120 | obj(static_cast<decltype(args)>(args)...); | 747 | 120 | } | 748 | 120 | else { | 749 | 120 | return obj(static_cast<decltype(args)>(args)...); | 750 | 120 | } | 751 | 120 | }), | 752 | 120 | m_storage(std::addressof(f)) | 753 | 120 | { | 754 | 120 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 14 | : m_fptr([](storage fn, | 743 | 14 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 14 | cvref<T> obj = *get<T>(fn); | 745 | 14 | if constexpr (std::is_void_v<R>) { | 746 | 14 | obj(static_cast<decltype(args)>(args)...); | 747 | 14 | } | 748 | 14 | else { | 749 | 14 | return obj(static_cast<decltype(args)>(args)...); | 750 | 14 | } | 751 | 14 | }), | 752 | 14 | m_storage(std::addressof(f)) | 753 | 14 | { | 754 | 14 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 38 | : m_fptr([](storage fn, | 743 | 38 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 38 | cvref<T> obj = *get<T>(fn); | 745 | 38 | if constexpr (std::is_void_v<R>) { | 746 | 38 | obj(static_cast<decltype(args)>(args)...); | 747 | 38 | } | 748 | 38 | else { | 749 | 38 | return obj(static_cast<decltype(args)>(args)...); | 750 | 38 | } | 751 | 38 | }), | 752 | 38 | m_storage(std::addressof(f)) | 753 | 38 | { | 754 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 14 | : m_fptr([](storage fn, | 743 | 14 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 14 | cvref<T> obj = *get<T>(fn); | 745 | 14 | if constexpr (std::is_void_v<R>) { | 746 | 14 | obj(static_cast<decltype(args)>(args)...); | 747 | 14 | } | 748 | 14 | else { | 749 | 14 | return obj(static_cast<decltype(args)>(args)...); | 750 | 14 | } | 751 | 14 | }), | 752 | 14 | m_storage(std::addressof(f)) | 753 | 14 | { | 754 | 14 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 38 | : m_fptr([](storage fn, | 743 | 38 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 38 | cvref<T> obj = *get<T>(fn); | 745 | 38 | if constexpr (std::is_void_v<R>) { | 746 | 38 | obj(static_cast<decltype(args)>(args)...); | 747 | 38 | } | 748 | 38 | else { | 749 | 38 | return obj(static_cast<decltype(args)>(args)...); | 750 | 38 | } | 751 | 38 | }), | 752 | 38 | m_storage(std::addressof(f)) | 753 | 38 | { | 754 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 628 | : m_fptr([](storage fn, | 743 | 628 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 628 | cvref<T> obj = *get<T>(fn); | 745 | 628 | if constexpr (std::is_void_v<R>) { | 746 | 628 | obj(static_cast<decltype(args)>(args)...); | 747 | 628 | } | 748 | 628 | else { | 749 | 628 | return obj(static_cast<decltype(args)>(args)...); | 750 | 628 | } | 751 | 628 | }), | 752 | 628 | m_storage(std::addressof(f)) | 753 | 628 | { | 754 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 480 | : m_fptr([](storage fn, | 743 | 480 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 480 | cvref<T> obj = *get<T>(fn); | 745 | 480 | if constexpr (std::is_void_v<R>) { | 746 | 480 | obj(static_cast<decltype(args)>(args)...); | 747 | 480 | } | 748 | 480 | else { | 749 | 480 | return obj(static_cast<decltype(args)>(args)...); | 750 | 480 | } | 751 | 480 | }), | 752 | 480 | m_storage(std::addressof(f)) | 753 | 480 | { | 754 | 480 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.28k | : m_fptr([](storage fn, | 743 | 2.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.28k | cvref<T> obj = *get<T>(fn); | 745 | 2.28k | if constexpr (std::is_void_v<R>) { | 746 | 2.28k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.28k | } | 748 | 2.28k | else { | 749 | 2.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.28k | } | 751 | 2.28k | }), | 752 | 2.28k | m_storage(std::addressof(f)) | 753 | 2.28k | { | 754 | 2.28k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 5.72k | : m_fptr([](storage fn, | 743 | 5.72k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 5.72k | cvref<T> obj = *get<T>(fn); | 745 | 5.72k | if constexpr (std::is_void_v<R>) { | 746 | 5.72k | obj(static_cast<decltype(args)>(args)...); | 747 | 5.72k | } | 748 | 5.72k | else { | 749 | 5.72k | return obj(static_cast<decltype(args)>(args)...); | 750 | 5.72k | } | 751 | 5.72k | }), | 752 | 5.72k | m_storage(std::addressof(f)) | 753 | 5.72k | { | 754 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 242 | : m_fptr([](storage fn, | 743 | 242 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 242 | cvref<T> obj = *get<T>(fn); | 745 | 242 | if constexpr (std::is_void_v<R>) { | 746 | 242 | obj(static_cast<decltype(args)>(args)...); | 747 | 242 | } | 748 | 242 | else { | 749 | 242 | return obj(static_cast<decltype(args)>(args)...); | 750 | 242 | } | 751 | 242 | }), | 752 | 242 | m_storage(std::addressof(f)) | 753 | 242 | { | 754 | 242 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 980 | : m_fptr([](storage fn, | 743 | 980 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 980 | cvref<T> obj = *get<T>(fn); | 745 | 980 | if constexpr (std::is_void_v<R>) { | 746 | 980 | obj(static_cast<decltype(args)>(args)...); | 747 | 980 | } | 748 | 980 | else { | 749 | 980 | return obj(static_cast<decltype(args)>(args)...); | 750 | 980 | } | 751 | 980 | }), | 752 | 980 | m_storage(std::addressof(f)) | 753 | 980 | { | 754 | 980 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ |
755 | | |
756 | | template <typename T, |
757 | | std::enable_if_t<detail::is_not_self<T, function_ref> && |
758 | | !std::is_pointer_v<T>>* = nullptr> |
759 | | function_ref& operator=(T) = delete; |
760 | | |
761 | | constexpr R operator()(Args... args) const noexcept(noex) |
762 | 1.11M | { |
763 | 1.11M | return m_fptr(m_storage, SCN_FWD(args)...); |
764 | 1.11M | } scn::v4::impl::function_ref<bool (char), bool (char)>::operator()(char) const Line | Count | Source | 762 | 24.2k | { | 763 | 24.2k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 24.2k | } |
scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 1.01M | { | 763 | 1.01M | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 1.01M | } |
scn::v4::impl::function_ref<void (char32_t), void (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 54.7k | { | 763 | 54.7k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 54.7k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 352 | { | 763 | 352 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 352 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 912 | { | 763 | 912 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 912 | } |
scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)>::operator()(wchar_t) const Line | Count | Source | 762 | 10.6k | { | 763 | 10.6k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 10.6k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 142 | { | 763 | 142 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 142 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 6.06k | { | 763 | 6.06k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 6.06k | } |
|
765 | | |
766 | | private: |
767 | | fwd_t* m_fptr{nullptr}; |
768 | | storage m_storage; |
769 | | }; |
770 | | |
771 | | template <typename F, std::enable_if_t<std::is_function_v<F>>* = nullptr> |
772 | | function_ref(F*) -> function_ref<F>; |
773 | | } // namespace impl |
774 | | |
775 | | ///////////////////////////////////////////////////////////////// |
776 | | // Internal error types |
777 | | ///////////////////////////////////////////////////////////////// |
778 | | |
779 | | namespace impl { |
780 | | enum class eof_error { good, eof }; |
781 | | |
782 | | inline constexpr bool operator!(eof_error e) |
783 | 188k | { |
784 | 188k | return e != eof_error::good; |
785 | 188k | } |
786 | | |
787 | | template <typename T> |
788 | | struct eof_expected : public expected<T, eof_error> { |
789 | | using base = expected<T, eof_error>; |
790 | | using base::base; |
791 | | |
792 | | constexpr eof_expected(const base& other) : base(other) {} |
793 | | constexpr eof_expected(base&& other) : base(SCN_MOVE(other)) {} |
794 | | }; |
795 | | |
796 | | inline constexpr auto make_eof_scan_error(eof_error err) |
797 | 262 | { |
798 | 262 | SCN_EXPECT(err == eof_error::eof); |
799 | 262 | return scan_error{scan_error::end_of_input, "EOF"}; |
800 | 262 | } |
801 | | |
802 | | struct SCN_TRIVIAL_ABI parse_error { |
803 | | enum code { good, eof, error }; |
804 | | using code_t = code; |
805 | | |
806 | | constexpr parse_error() = default; |
807 | 150k | constexpr parse_error(code c) : m_code(c) |
808 | 150k | { |
809 | 150k | SCN_UNLIKELY_ATTR SCN_UNUSED(m_code); |
810 | 150k | } |
811 | | |
812 | | constexpr explicit operator bool() const |
813 | 0 | { |
814 | 0 | return m_code == good; |
815 | 0 | } |
816 | | constexpr explicit operator code_t() const |
817 | 0 | { |
818 | 0 | return m_code; |
819 | 0 | } |
820 | | |
821 | | friend constexpr bool operator==(parse_error a, parse_error b) |
822 | 58.1k | { |
823 | 58.1k | return a.m_code == b.m_code; |
824 | 58.1k | } |
825 | | friend constexpr bool operator!=(parse_error a, parse_error b) |
826 | 9.42k | { |
827 | 9.42k | return !(a == b); |
828 | 9.42k | } |
829 | | |
830 | | private: |
831 | | code m_code{good}; |
832 | | }; |
833 | | |
834 | | template <typename T> |
835 | | struct parse_expected : public expected<T, parse_error> { |
836 | | using base = expected<T, parse_error>; |
837 | | using base::base; |
838 | | |
839 | | constexpr parse_expected(const base& other) : base(other) {} |
840 | | constexpr parse_expected(base&& other) : base(SCN_MOVE(other)) {} |
841 | | }; |
842 | | |
843 | | inline constexpr parse_error make_eof_parse_error(eof_error err) |
844 | 904 | { |
845 | 904 | SCN_EXPECT(err == eof_error::eof); |
846 | 904 | return parse_error::eof; |
847 | 904 | } |
848 | | |
849 | | inline constexpr scan_expected<void> make_scan_error_from_parse_error( |
850 | | parse_error err, |
851 | | enum scan_error::code code, |
852 | | const char* msg) |
853 | 9.42k | { |
854 | 9.42k | if (err == parse_error::good) { |
855 | 0 | return {}; |
856 | 0 | } |
857 | | |
858 | 9.42k | if (err == parse_error::eof) { |
859 | 114 | return detail::unexpected_scan_error(scan_error::end_of_input, "EOF"); |
860 | 114 | } |
861 | | |
862 | 9.30k | return detail::unexpected_scan_error(code, msg); |
863 | 9.42k | } |
864 | | |
865 | | inline constexpr auto map_parse_error_to_scan_error(enum scan_error::code code, |
866 | | const char* msg) |
867 | 9.42k | { |
868 | 9.42k | return [code, msg](parse_error err) { |
869 | 9.42k | assert(err != parse_error::good); |
870 | 9.42k | return make_scan_error_from_parse_error(err, code, msg).error(); |
871 | 9.42k | }; |
872 | 9.42k | } |
873 | | } // namespace impl |
874 | | |
875 | | namespace detail { |
876 | | template <typename T> |
877 | | struct is_expected_impl<scn::impl::parse_expected<T>> : std::true_type {}; |
878 | | } // namespace detail |
879 | | |
880 | | ///////////////////////////////////////////////////////////////// |
881 | | // Range reading support |
882 | | ///////////////////////////////////////////////////////////////// |
883 | | |
884 | | namespace impl { |
885 | | #if SCN_MSVC_DEBUG_ITERATORS |
886 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 1 |
887 | | #else |
888 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 0 |
889 | | #endif |
890 | | |
891 | | template <typename T> |
892 | | constexpr bool range_supports_nocopy() noexcept |
893 | | { |
894 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
895 | | return ranges::contiguous_range<T> || |
896 | | (ranges::random_access_range<T> && |
897 | | detail::can_make_address_from_iterator<ranges::iterator_t<T>>); |
898 | | #else |
899 | | return ranges::contiguous_range<T>; |
900 | | #endif |
901 | | } |
902 | | |
903 | | template <typename R> |
904 | | constexpr auto range_nocopy_data(const R& r) noexcept |
905 | | { |
906 | | static_assert(range_supports_nocopy<R>()); |
907 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
908 | | return detail::to_address(ranges::begin(r)); |
909 | | #else |
910 | | return ranges::data(r); |
911 | | #endif |
912 | | } |
913 | | |
914 | | template <typename R> |
915 | | constexpr auto range_nocopy_size(const R& r) noexcept |
916 | | { |
917 | | static_assert(range_supports_nocopy<R>()); |
918 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
919 | | return static_cast<size_t>(ranges::distance(detail::to_address(r.begin()), |
920 | | detail::to_address(r.end()))); |
921 | | #else |
922 | | return r.size(); |
923 | | #endif |
924 | | } |
925 | | |
926 | | template <typename I, typename S> |
927 | | SCN_NODISCARD constexpr bool is_range_eof(I begin, S end) |
928 | 195M | { |
929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
930 | | if constexpr (ranges::contiguous_iterator<I> || |
931 | | (ranges::random_access_iterator<I> && |
932 | | detail::can_make_address_from_iterator<I>)) { |
933 | | return detail::to_address(begin) == detail::to_address(end); |
934 | | } |
935 | | else |
936 | | #endif |
937 | 195M | { |
938 | 195M | return begin == end; |
939 | 195M | } |
940 | 195M | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 928 | 30.1k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 30.1k | { | 938 | 30.1k | return begin == end; | 939 | 30.1k | } | 940 | 30.1k | } |
bool scn::v4::impl::is_range_eof<char const*, char const*>(char const*, char const*) Line | Count | Source | 928 | 319k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 319k | { | 938 | 319k | return begin == end; | 939 | 319k | } | 940 | 319k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) Line | Count | Source | 928 | 194M | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 194M | { | 938 | 194M | return begin == end; | 939 | 194M | } | 940 | 194M | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 928 | 13.0k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 13.0k | { | 938 | 13.0k | return begin == end; | 939 | 13.0k | } | 940 | 13.0k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 928 | 5.74k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 5.74k | { | 938 | 5.74k | return begin == end; | 939 | 5.74k | } | 940 | 5.74k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) Line | Count | Source | 928 | 2.00k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 2.00k | { | 938 | 2.00k | return begin == end; | 939 | 2.00k | } | 940 | 2.00k | } |
|
941 | | |
942 | | template <typename Range> |
943 | | SCN_NODISCARD constexpr bool is_range_eof(Range r) |
944 | 750k | { |
945 | 750k | return is_range_eof(r.begin(), r.end()); |
946 | 750k | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 944 | 2.39k | { | 945 | 2.39k | return is_range_eof(r.begin(), r.end()); | 946 | 2.39k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 944 | 27.7k | { | 945 | 27.7k | return is_range_eof(r.begin(), r.end()); | 946 | 27.7k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 944 | 270k | { | 945 | 270k | return is_range_eof(r.begin(), r.end()); | 946 | 270k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 944 | 428k | { | 945 | 428k | return is_range_eof(r.begin(), r.end()); | 946 | 428k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 944 | 1.04k | { | 945 | 1.04k | return is_range_eof(r.begin(), r.end()); | 946 | 1.04k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 944 | 11.9k | { | 945 | 11.9k | return is_range_eof(r.begin(), r.end()); | 946 | 11.9k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 944 | 5.74k | { | 945 | 5.74k | return is_range_eof(r.begin(), r.end()); | 946 | 5.74k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 944 | 2.00k | { | 945 | 2.00k | return is_range_eof(r.begin(), r.end()); | 946 | 2.00k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
947 | | |
948 | | template <typename Range> |
949 | | SCN_NODISCARD constexpr eof_error eof_check(Range range) |
950 | 188k | { |
951 | 188k | if (SCN_UNLIKELY(is_range_eof(range))) { |
952 | 262 | return eof_error::eof; |
953 | 262 | } |
954 | 188k | return eof_error::good; |
955 | 188k | } Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 950 | 2.39k | { | 951 | 2.39k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 2.39k | return eof_error::good; | 955 | 2.39k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 950 | 40 | { | 951 | 40 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 40 | return eof_error::good; | 955 | 40 | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 950 | 21.4k | { | 951 | 21.4k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 21.4k | return eof_error::good; | 955 | 21.4k | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 950 | 160k | { | 951 | 160k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 160k | return eof_error::good; | 955 | 160k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 950 | 1.04k | { | 951 | 1.04k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 1.04k | return eof_error::good; | 955 | 1.04k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 950 | 44 | { | 951 | 44 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 44 | return eof_error::good; | 955 | 44 | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 950 | 2.28k | { | 951 | 2.28k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 238 | return eof_error::eof; | 953 | 238 | } | 954 | 2.04k | return eof_error::good; | 955 | 2.28k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 950 | 980 | { | 951 | 980 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 24 | return eof_error::eof; | 953 | 24 | } | 954 | 956 | return eof_error::good; | 955 | 980 | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
956 | | |
957 | | template <typename Range> |
958 | | bool is_entire_source_contiguous(Range r) |
959 | 630 | { |
960 | | if constexpr (ranges::contiguous_range<Range> && |
961 | 354 | ranges::sized_range<Range>) { |
962 | 354 | return true; |
963 | | } |
964 | | else if constexpr (std::is_same_v< |
965 | | ranges::const_iterator_t<Range>, |
966 | | typename detail::basic_scan_buffer< |
967 | 0 | detail::char_t<Range>>::forward_iterator>) { |
968 | 0 | auto beg = r.begin(); |
969 | 0 | if (!beg.stores_parent()) { |
970 | 0 | return true; |
971 | 0 | } |
972 | 0 | return beg.parent()->is_contiguous(); |
973 | | } |
974 | 276 | else { |
975 | 276 | return false; |
976 | 276 | } |
977 | 630 | } Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 959 | 276 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | | ranges::sized_range<Range>) { | 962 | | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | 276 | else { | 975 | 276 | return false; | 976 | 276 | } | 977 | 276 | } |
bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 959 | 354 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | 354 | ranges::sized_range<Range>) { | 962 | 354 | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | | else { | 975 | | return false; | 976 | | } | 977 | 354 | } |
|
978 | | |
979 | | template <typename Range> |
980 | | bool is_segment_contiguous(Range r) |
981 | 354 | { |
982 | | if constexpr (ranges::contiguous_range<Range> && |
983 | 354 | ranges::sized_range<Range>) { |
984 | 354 | return true; |
985 | | } |
986 | | else if constexpr (std::is_same_v< |
987 | | ranges::const_iterator_t<Range>, |
988 | | typename detail::basic_scan_buffer< |
989 | 0 | detail::char_t<Range>>::forward_iterator>) { |
990 | 0 | auto beg = r.begin(); |
991 | 0 | if (beg.contiguous_segment().empty()) { |
992 | 0 | return false; |
993 | 0 | } |
994 | | if constexpr (ranges::common_range<Range>) { |
995 | | return beg.contiguous_segment().end() == |
996 | | ranges::end(r).contiguous_segment().end(); |
997 | | } |
998 | 0 | else { |
999 | 0 | if (beg.stores_parent()) { |
1000 | 0 | return beg.contiguous_segment().end() == |
1001 | 0 | beg.parent()->current_view().end(); |
1002 | 0 | } |
1003 | 0 | return true; |
1004 | 0 | } |
1005 | | } |
1006 | 0 | else { |
1007 | 0 | return false; |
1008 | 0 | } |
1009 | 354 | } Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 981 | 354 | { | 982 | | if constexpr (ranges::contiguous_range<Range> && | 983 | 354 | ranges::sized_range<Range>) { | 984 | 354 | return true; | 985 | | } | 986 | | else if constexpr (std::is_same_v< | 987 | | ranges::const_iterator_t<Range>, | 988 | | typename detail::basic_scan_buffer< | 989 | | detail::char_t<Range>>::forward_iterator>) { | 990 | | auto beg = r.begin(); | 991 | | if (beg.contiguous_segment().empty()) { | 992 | | return false; | 993 | | } | 994 | | if constexpr (ranges::common_range<Range>) { | 995 | | return beg.contiguous_segment().end() == | 996 | | ranges::end(r).contiguous_segment().end(); | 997 | | } | 998 | | else { | 999 | | if (beg.stores_parent()) { | 1000 | | return beg.contiguous_segment().end() == | 1001 | | beg.parent()->current_view().end(); | 1002 | | } | 1003 | | return true; | 1004 | | } | 1005 | | } | 1006 | | else { | 1007 | | return false; | 1008 | | } | 1009 | 354 | } |
Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1010 | | |
1011 | | template <typename Range> |
1012 | | std::size_t contiguous_beginning_size(Range r) |
1013 | | { |
1014 | | if constexpr (ranges::contiguous_range<Range> && |
1015 | | ranges::sized_range<Range>) { |
1016 | | return r.size(); |
1017 | | } |
1018 | | else if constexpr (std::is_same_v< |
1019 | | ranges::const_iterator_t<Range>, |
1020 | | typename detail::basic_scan_buffer< |
1021 | | detail::char_t<Range>>::forward_iterator>) { |
1022 | | if constexpr (ranges::common_range<Range>) { |
1023 | | auto seg = r.begin().contiguous_segment(); |
1024 | | auto dist = |
1025 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1026 | | return std::min(seg.size(), dist); |
1027 | | } |
1028 | | else { |
1029 | | return r.begin().contiguous_segment().size(); |
1030 | | } |
1031 | | } |
1032 | | else { |
1033 | | return false; |
1034 | | } |
1035 | | } |
1036 | | |
1037 | | template <typename Range> |
1038 | | auto get_contiguous_beginning(Range r) |
1039 | 3.74k | { |
1040 | | if constexpr (ranges::contiguous_range<Range> && |
1041 | | ranges::sized_range<Range>) { |
1042 | | return r; |
1043 | | } |
1044 | | else if constexpr (std::is_same_v< |
1045 | | ranges::const_iterator_t<Range>, |
1046 | | typename detail::basic_scan_buffer< |
1047 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1048 | | if constexpr (ranges::common_range<Range>) { |
1049 | | auto seg = r.begin().contiguous_segment(); |
1050 | | auto dist = |
1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1052 | | return seg.substr(0, std::min(seg.size(), dist)); |
1053 | | } |
1054 | 0 | else { |
1055 | 0 | return r.begin().contiguous_segment(); |
1056 | 0 | } |
1057 | | } |
1058 | 3.74k | else { |
1059 | 3.74k | return std::basic_string_view<detail::char_t<Range>>{}; |
1060 | 3.74k | } |
1061 | 3.74k | } Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1039 | 1.46k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 1.46k | else { | 1059 | 1.46k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 1.46k | } | 1061 | 1.46k | } |
Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >) Line | Count | Source | 1039 | 2.28k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 2.28k | else { | 1059 | 2.28k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 2.28k | } | 1061 | 2.28k | } |
|
1062 | | |
1063 | | template <typename Range> |
1064 | | auto get_as_contiguous(Range r) |
1065 | 354 | { |
1066 | 354 | SCN_EXPECT(is_segment_contiguous(r)); |
1067 | | |
1068 | | if constexpr (ranges::contiguous_range<Range> && |
1069 | 354 | ranges::sized_range<Range>) { |
1070 | 354 | return r; |
1071 | | } |
1072 | | else if constexpr (std::is_same_v< |
1073 | | ranges::const_iterator_t<Range>, |
1074 | | typename detail::basic_scan_buffer< |
1075 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1076 | | if constexpr (ranges::common_range<Range>) { |
1077 | | return detail::make_string_view_from_pointers( |
1078 | | r.begin().to_contiguous_segment_iterator(), |
1079 | | r.end().to_contiguous_segment_iterator()); |
1080 | | } |
1081 | 0 | else { |
1082 | 0 | return r.begin().contiguous_segment(); |
1083 | 0 | } |
1084 | | } |
1085 | 0 | else { |
1086 | 0 | SCN_EXPECT(false); |
1087 | 0 | SCN_UNREACHABLE; |
1088 | | // for return type deduction |
1089 | 0 | return std::basic_string_view<detail::char_t<Range>>{}; |
1090 | 0 | } |
1091 | 354 | } Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 1065 | 354 | { | 1066 | 354 | SCN_EXPECT(is_segment_contiguous(r)); | 1067 | | | 1068 | | if constexpr (ranges::contiguous_range<Range> && | 1069 | 354 | ranges::sized_range<Range>) { | 1070 | 354 | return r; | 1071 | | } | 1072 | | else if constexpr (std::is_same_v< | 1073 | | ranges::const_iterator_t<Range>, | 1074 | | typename detail::basic_scan_buffer< | 1075 | | detail::char_t<Range>>::forward_iterator>) { | 1076 | | if constexpr (ranges::common_range<Range>) { | 1077 | | return detail::make_string_view_from_pointers( | 1078 | | r.begin().to_contiguous_segment_iterator(), | 1079 | | r.end().to_contiguous_segment_iterator()); | 1080 | | } | 1081 | | else { | 1082 | | return r.begin().contiguous_segment(); | 1083 | | } | 1084 | | } | 1085 | | else { | 1086 | | SCN_EXPECT(false); | 1087 | | SCN_UNREACHABLE; | 1088 | | // for return type deduction | 1089 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1090 | | } | 1091 | 354 | } |
Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1092 | | |
1093 | | template <typename Range> |
1094 | | std::size_t guaranteed_minimum_size(Range r) |
1095 | 8.31k | { |
1096 | | if constexpr (ranges::sized_range<Range>) { |
1097 | | return r.size(); |
1098 | | } |
1099 | | else if constexpr (std::is_same_v< |
1100 | | ranges::const_iterator_t<Range>, |
1101 | | typename detail::basic_scan_buffer< |
1102 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1103 | | if constexpr (ranges::common_range<Range>) { |
1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1105 | | } |
1106 | 0 | else { |
1107 | 0 | if (r.begin().stores_parent()) { |
1108 | 0 | return static_cast<size_t>( |
1109 | 0 | r.begin().parent()->chars_available() - |
1110 | 0 | r.begin().position()); |
1111 | 0 | } |
1112 | 0 | return r.begin().contiguous_segment().size(); |
1113 | 0 | } |
1114 | | } |
1115 | 8.31k | else { |
1116 | 8.31k | return 0; |
1117 | 8.31k | } |
1118 | 8.31k | } Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 1095 | 5.85k | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 5.85k | else { | 1116 | 5.85k | return 0; | 1117 | 5.85k | } | 1118 | 5.85k | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 1095 | 646 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 646 | else { | 1116 | 646 | return 0; | 1117 | 646 | } | 1118 | 646 | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 1095 | 684 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 684 | else { | 1116 | 684 | return 0; | 1117 | 684 | } | 1118 | 684 | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1095 | 836 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 836 | else { | 1116 | 836 | return 0; | 1117 | 836 | } | 1118 | 836 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 1095 | 296 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 296 | else { | 1116 | 296 | return 0; | 1117 | 296 | } | 1118 | 296 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) |
1119 | | |
1120 | | template <typename I, typename T> |
1121 | | struct iterator_value_result { |
1122 | | SCN_NO_UNIQUE_ADDRESS I iterator; |
1123 | | SCN_NO_UNIQUE_ADDRESS T value; |
1124 | | }; |
1125 | | |
1126 | | } // namespace impl |
1127 | | |
1128 | | ///////////////////////////////////////////////////////////////// |
1129 | | // File support |
1130 | | ///////////////////////////////////////////////////////////////// |
1131 | | |
1132 | | namespace detail { |
1133 | | |
1134 | | template <typename FileInterface> |
1135 | | basic_scan_file_buffer<FileInterface>::basic_scan_file_buffer( |
1136 | | FileInterface file) |
1137 | 0 | : base(base::non_contiguous_tag{}), m_file(SCN_MOVE(file)) |
1138 | 0 | { |
1139 | 0 | m_file.lock(); |
1140 | 0 | } |
1141 | | |
1142 | | template <typename FileInterface> |
1143 | | basic_scan_file_buffer<FileInterface>::~basic_scan_file_buffer() |
1144 | 0 | { |
1145 | 0 | m_file.unlock(); |
1146 | 0 | } |
1147 | | |
1148 | | template <typename FileInterface> |
1149 | | bool basic_scan_file_buffer<FileInterface>::fill() |
1150 | 0 | { |
1151 | 0 | if (!this->m_current_view.empty()) { |
1152 | 0 | this->m_putback_buffer.insert(this->m_putback_buffer.end(), |
1153 | 0 | this->m_current_view.begin(), |
1154 | 0 | this->m_current_view.end()); |
1155 | 0 | } |
1156 | |
|
1157 | 0 | if (m_file.has_buffering()) { |
1158 | 0 | if (!this->m_current_view.empty()) { |
1159 | 0 | m_file.unsafe_advance_n(this->m_current_view.size()); |
1160 | 0 | } |
1161 | |
|
1162 | 0 | if (m_file.buffer().empty()) { |
1163 | 0 | m_file.fill_buffer(); |
1164 | 0 | } |
1165 | 0 | m_current_view = m_file.buffer(); |
1166 | 0 | return !this->m_current_view.empty(); |
1167 | 0 | } |
1168 | | |
1169 | 0 | this->m_latest = m_file.read_one(); |
1170 | 0 | if (!this->m_latest) { |
1171 | 0 | this->m_current_view = {}; |
1172 | 0 | return false; |
1173 | 0 | } |
1174 | | |
1175 | 0 | this->m_current_view = {&*this->m_latest, 1}; |
1176 | 0 | return true; |
1177 | 0 | } |
1178 | | |
1179 | | template <typename FileInterface> |
1180 | | bool basic_scan_file_buffer<FileInterface>::sync(std::ptrdiff_t position) |
1181 | 0 | { |
1182 | 0 | struct putback_wrapper { |
1183 | 0 | putback_wrapper(FileInterface& i) : i(i) |
1184 | 0 | { |
1185 | 0 | i.prepare_putback(); |
1186 | 0 | } |
1187 | 0 | ~putback_wrapper() |
1188 | 0 | { |
1189 | 0 | i.finalize_putback(); |
1190 | 0 | } |
1191 | |
|
1192 | 0 | FileInterface& i; |
1193 | 0 | }; |
1194 | |
|
1195 | 0 | if (m_file.has_buffering()) { |
1196 | 0 | if (position < |
1197 | 0 | static_cast<std::ptrdiff_t>(this->putback_buffer().size())) { |
1198 | 0 | putback_wrapper wrapper{m_file}; |
1199 | 0 | auto segment = this->get_segment_starting_at(position); |
1200 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1201 | 0 | if (!m_file.putback(*it)) { |
1202 | 0 | return false; |
1203 | 0 | } |
1204 | 0 | } |
1205 | 0 | return true; |
1206 | 0 | } |
1207 | | |
1208 | 0 | m_file.unsafe_advance_n(position - static_cast<std::ptrdiff_t>( |
1209 | 0 | this->putback_buffer().size())); |
1210 | 0 | return true; |
1211 | 0 | } |
1212 | | |
1213 | 0 | const auto chars_avail = this->chars_available(); |
1214 | 0 | if (position == chars_avail) { |
1215 | 0 | return true; |
1216 | 0 | } |
1217 | | |
1218 | 0 | putback_wrapper wrapper{m_file}; |
1219 | 0 | SCN_EXPECT(m_current_view.size() == 1); |
1220 | 0 | m_file.putback(m_current_view.front()); |
1221 | |
|
1222 | 0 | auto segment = std::string_view{this->putback_buffer()}.substr(position); |
1223 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1224 | 0 | if (!m_file.putback(*it)) { |
1225 | 0 | return false; |
1226 | 0 | } |
1227 | 0 | } |
1228 | 0 | return true; |
1229 | 0 | } |
1230 | | |
1231 | | } // namespace detail |
1232 | | |
1233 | | ///////////////////////////////////////////////////////////////// |
1234 | | // Unicode |
1235 | | ///////////////////////////////////////////////////////////////// |
1236 | | |
1237 | | namespace impl { |
1238 | | |
1239 | | template <typename CharT> |
1240 | | constexpr bool validate_unicode(std::basic_string_view<CharT> src) |
1241 | 34.1k | { |
1242 | 34.1k | auto it = src.begin(); |
1243 | 508k | while (it != src.end()) { |
1244 | 477k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1245 | 477k | if (len == 0) { |
1246 | 1.30k | return false; |
1247 | 1.30k | } |
1248 | 475k | if (src.end() - it < len) { |
1249 | 234 | return false; |
1250 | 234 | } |
1251 | 475k | const auto cp = detail::decode_code_point_exhaustive( |
1252 | 475k | detail::make_string_view_from_iterators<CharT>(it, it + len)); |
1253 | 475k | if (cp >= detail::invalid_code_point) { |
1254 | 1.33k | return false; |
1255 | 1.33k | } |
1256 | 474k | it += len; |
1257 | 474k | } |
1258 | 31.2k | return true; |
1259 | 34.1k | } bool scn::v4::impl::validate_unicode<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1241 | 8.36k | { | 1242 | 8.36k | auto it = src.begin(); | 1243 | 398k | while (it != src.end()) { | 1244 | 392k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 392k | if (len == 0) { | 1246 | 1.30k | return false; | 1247 | 1.30k | } | 1248 | 391k | if (src.end() - it < len) { | 1249 | 234 | return false; | 1250 | 234 | } | 1251 | 390k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 390k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 390k | if (cp >= detail::invalid_code_point) { | 1254 | 396 | return false; | 1255 | 396 | } | 1256 | 390k | it += len; | 1257 | 390k | } | 1258 | 6.42k | return true; | 1259 | 8.36k | } |
bool scn::v4::impl::validate_unicode<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1241 | 25.7k | { | 1242 | 25.7k | auto it = src.begin(); | 1243 | 109k | while (it != src.end()) { | 1244 | 84.6k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 84.6k | if (len == 0) { | 1246 | 0 | return false; | 1247 | 0 | } | 1248 | 84.6k | if (src.end() - it < len) { | 1249 | 0 | return false; | 1250 | 0 | } | 1251 | 84.6k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 84.6k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 84.6k | if (cp >= detail::invalid_code_point) { | 1254 | 942 | return false; | 1255 | 942 | } | 1256 | 83.6k | it += len; | 1257 | 83.6k | } | 1258 | 24.8k | return true; | 1259 | 25.7k | } |
|
1260 | | |
1261 | | template <typename Range> |
1262 | | constexpr auto get_start_for_next_code_point(Range input) |
1263 | | -> ranges::const_iterator_t<Range> |
1264 | 9.32k | { |
1265 | 9.32k | auto it = input.begin(); |
1266 | 22.0k | for (; it != input.end(); ++it) { |
1267 | 20.3k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { |
1268 | 7.68k | break; |
1269 | 7.68k | } |
1270 | 20.3k | } |
1271 | 9.32k | return it; |
1272 | 9.32k | } _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 1264 | 5.44k | { | 1265 | 5.44k | auto it = input.begin(); | 1266 | 15.9k | for (; it != input.end(); ++it) { | 1267 | 14.6k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 4.08k | break; | 1269 | 4.08k | } | 1270 | 14.6k | } | 1271 | 5.44k | return it; | 1272 | 5.44k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Line | Count | Source | 1264 | 2.91k | { | 1265 | 2.91k | auto it = input.begin(); | 1266 | 4.58k | for (; it != input.end(); ++it) { | 1267 | 4.35k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 2.69k | break; | 1269 | 2.69k | } | 1270 | 4.35k | } | 1271 | 2.91k | return it; | 1272 | 2.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1264 | 966 | { | 1265 | 966 | auto it = input.begin(); | 1266 | 1.46k | for (; it != input.end(); ++it) { | 1267 | 1.41k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 912 | break; | 1269 | 912 | } | 1270 | 1.41k | } | 1271 | 966 | return it; | 1272 | 966 | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ |
1273 | | |
1274 | | template <typename CharT> |
1275 | | constexpr auto get_next_code_point(std::basic_string_view<CharT> input) |
1276 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1277 | | char32_t> |
1278 | 194M | { |
1279 | 194M | SCN_EXPECT(!input.empty()); |
1280 | | |
1281 | 194M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1282 | 194M | if (SCN_UNLIKELY(len == 0)) { |
1283 | 5.44k | return {get_start_for_next_code_point(input), |
1284 | 5.44k | detail::invalid_code_point}; |
1285 | 5.44k | } |
1286 | 194M | if (SCN_UNLIKELY(len > input.size())) { |
1287 | 966 | return {input.end(), detail::invalid_code_point}; |
1288 | 966 | } |
1289 | | |
1290 | 194M | return {input.begin() + len, |
1291 | 194M | detail::decode_code_point_exhaustive(input.substr(0, len))}; |
1292 | 194M | } scn::v4::impl::iterator_value_result<std::__1::basic_string_view<char, std::__1::char_traits<char> >::iterator, char32_t> scn::v4::impl::get_next_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1278 | 252k | { | 1279 | 252k | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 252k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 252k | if (SCN_UNLIKELY(len == 0)) { | 1283 | 5.44k | return {get_start_for_next_code_point(input), | 1284 | 5.44k | detail::invalid_code_point}; | 1285 | 5.44k | } | 1286 | 247k | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 966 | return {input.end(), detail::invalid_code_point}; | 1288 | 966 | } | 1289 | | | 1290 | 246k | return {input.begin() + len, | 1291 | 246k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 247k | } |
scn::v4::impl::iterator_value_result<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >::iterator, char32_t> scn::v4::impl::get_next_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1278 | 194M | { | 1279 | 194M | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 194M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 194M | if (SCN_UNLIKELY(len == 0)) { | 1283 | 0 | return {get_start_for_next_code_point(input), | 1284 | 0 | detail::invalid_code_point}; | 1285 | 0 | } | 1286 | 194M | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 0 | return {input.end(), detail::invalid_code_point}; | 1288 | 0 | } | 1289 | | | 1290 | 194M | return {input.begin() + len, | 1291 | 194M | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 194M | } |
|
1293 | | |
1294 | | template <typename CharT> |
1295 | | constexpr auto get_next_code_point_valid(std::basic_string_view<CharT> input) |
1296 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1297 | | char32_t> |
1298 | 94.3k | { |
1299 | 94.3k | SCN_EXPECT(!input.empty()); |
1300 | | |
1301 | 94.3k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1302 | 94.3k | SCN_EXPECT(len <= input.size()); |
1303 | | |
1304 | 94.3k | return {input.begin() + len, |
1305 | 94.3k | detail::decode_code_point_exhaustive_valid(input.substr(0, len))}; |
1306 | 94.3k | } |
1307 | | |
1308 | | template <typename CharT> |
1309 | | struct is_first_char_space_result { |
1310 | | ranges::iterator_t<std::basic_string_view<CharT>> iterator; |
1311 | | char32_t cp; |
1312 | | bool is_space; |
1313 | | }; |
1314 | | |
1315 | | template <typename CharT> |
1316 | | inline constexpr auto is_first_char_space(std::basic_string_view<CharT> str) |
1317 | | -> is_first_char_space_result<CharT> |
1318 | 194M | { |
1319 | | // TODO: optimize |
1320 | 194M | SCN_EXPECT(!str.empty()); |
1321 | 194M | auto res = get_next_code_point(str); |
1322 | 194M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; |
1323 | 194M | } scn::v4::impl::is_first_char_space_result<char> scn::v4::impl::is_first_char_space<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1318 | 47.0k | { | 1319 | | // TODO: optimize | 1320 | 47.0k | SCN_EXPECT(!str.empty()); | 1321 | 47.0k | auto res = get_next_code_point(str); | 1322 | 47.0k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 47.0k | } |
scn::v4::impl::is_first_char_space_result<wchar_t> scn::v4::impl::is_first_char_space<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1318 | 194M | { | 1319 | | // TODO: optimize | 1320 | 194M | SCN_EXPECT(!str.empty()); | 1321 | 194M | auto res = get_next_code_point(str); | 1322 | 194M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 194M | } |
|
1324 | | |
1325 | | inline constexpr scan_expected<wchar_t> encode_code_point_as_wide_character( |
1326 | | char32_t cp, |
1327 | | bool error_on_overflow) |
1328 | 0 | { |
1329 | 0 | SCN_EXPECT(cp < detail::invalid_code_point); |
1330 | 0 | if constexpr (sizeof(wchar_t) == sizeof(char32_t)) { |
1331 | 0 | SCN_UNUSED(error_on_overflow); |
1332 | 0 | return static_cast<wchar_t>(cp); |
1333 | | } |
1334 | | else { |
1335 | | if (cp < 0x10000) { |
1336 | | return static_cast<wchar_t>(cp); |
1337 | | } |
1338 | | if (error_on_overflow) { |
1339 | | return detail::unexpected_scan_error( |
1340 | | scan_error::value_positive_overflow, |
1341 | | "Non-BMP code point can't be " |
1342 | | "narrowed to a single 2-byte " |
1343 | | "wchar_t code unit"); |
1344 | | } |
1345 | | // Return the lead surrogate |
1346 | | return static_cast<wchar_t>( |
1347 | | (static_cast<uint32_t>(cp) - 0x10000) / 0x400 + 0xd800); |
1348 | | } |
1349 | 0 | } |
1350 | | |
1351 | | template <typename SourceCharT, typename DestCharT> |
1352 | | void transcode_to_string_impl_to32(std::basic_string_view<SourceCharT> src, |
1353 | | std::basic_string<DestCharT>& dest) |
1354 | 2.63k | { |
1355 | 2.63k | static_assert(sizeof(DestCharT) == 4); |
1356 | | |
1357 | 2.63k | auto it = src.begin(); |
1358 | 129k | while (it != src.end()) { |
1359 | 127k | auto res = get_next_code_point( |
1360 | 127k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1361 | 127k | src.end())); |
1362 | 127k | if (SCN_UNLIKELY(res.value == detail::invalid_code_point)) { |
1363 | 4.09k | dest.push_back(DestCharT{0xfffd}); |
1364 | 4.09k | } |
1365 | 123k | else { |
1366 | 123k | dest.push_back(res.value); |
1367 | 123k | } |
1368 | 127k | it = detail::make_string_view_iterator(src, res.iterator); |
1369 | 127k | } |
1370 | 2.63k | } |
1371 | | template <typename SourceCharT, typename DestCharT> |
1372 | | void transcode_valid_to_string_impl_to32( |
1373 | | std::basic_string_view<SourceCharT> src, |
1374 | | std::basic_string<DestCharT>& dest) |
1375 | 1.60k | { |
1376 | 1.60k | static_assert(sizeof(DestCharT) == 4); |
1377 | | |
1378 | 1.60k | auto it = src.begin(); |
1379 | 96.0k | while (it != src.end()) { |
1380 | 94.3k | auto res = get_next_code_point_valid( |
1381 | 94.3k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1382 | 94.3k | src.end())); |
1383 | 94.3k | SCN_EXPECT(res.value < detail::invalid_code_point); |
1384 | 94.3k | dest.push_back(res.value); |
1385 | 94.3k | it = detail::make_string_view_iterator(src, res.iterator); |
1386 | 94.3k | } |
1387 | 1.60k | } |
1388 | | |
1389 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1390 | | void transcode_to_string_impl_32to8(std::basic_string_view<SourceCharT> src, |
1391 | | std::basic_string<DestCharT>& dest) |
1392 | 6.21k | { |
1393 | 6.21k | static_assert(sizeof(SourceCharT) == 4); |
1394 | 6.21k | static_assert(sizeof(DestCharT) == 1); |
1395 | | |
1396 | 19.2k | for (auto cp : src) { |
1397 | 19.2k | const auto u32cp = static_cast<uint32_t>(cp); |
1398 | 19.2k | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1399 | | // Replacement character |
1400 | 0 | dest.push_back(static_cast<char>(0xef)); |
1401 | 0 | dest.push_back(static_cast<char>(0xbf)); |
1402 | 0 | dest.push_back(static_cast<char>(0xbd)); |
1403 | 0 | } |
1404 | 19.2k | else if (cp < 128) { |
1405 | 17.8k | dest.push_back(static_cast<char>(cp)); |
1406 | 17.8k | } |
1407 | 1.37k | else if (cp < 2048) { |
1408 | 124 | dest.push_back( |
1409 | 124 | static_cast<char>(0xc0 | (static_cast<char>(u32cp >> 6)))); |
1410 | 124 | dest.push_back( |
1411 | 124 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1412 | 124 | } |
1413 | 1.25k | else if (cp < 65536) { |
1414 | 816 | dest.push_back( |
1415 | 816 | static_cast<char>(0xe0 | (static_cast<char>(u32cp >> 12)))); |
1416 | 816 | dest.push_back(static_cast<char>( |
1417 | 816 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1418 | 816 | dest.push_back( |
1419 | 816 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1420 | 816 | } |
1421 | 436 | else { |
1422 | 436 | dest.push_back( |
1423 | 436 | static_cast<char>(0xf0 | (static_cast<char>(u32cp >> 18)))); |
1424 | 436 | dest.push_back(static_cast<char>( |
1425 | 436 | 0x80 | (static_cast<char>(u32cp >> 12) & 0x3f))); |
1426 | 436 | dest.push_back(static_cast<char>( |
1427 | 436 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1428 | 436 | dest.push_back( |
1429 | 436 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1430 | 436 | } |
1431 | 19.2k | } |
1432 | 6.21k | } |
1433 | | |
1434 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1435 | | void transcode_to_string_impl_32to16(std::basic_string_view<SourceCharT> src, |
1436 | | std::basic_string<DestCharT>& dest) |
1437 | | { |
1438 | | static_assert(sizeof(SourceCharT) == 4); |
1439 | | static_assert(sizeof(DestCharT) == 2); |
1440 | | |
1441 | | for (auto cp : src) { |
1442 | | const auto u32cp = static_cast<uint32_t>(cp); |
1443 | | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1444 | | dest.push_back(char16_t{0xfffd}); |
1445 | | } |
1446 | | else if (cp < 0x10000) { |
1447 | | dest.push_back(static_cast<char16_t>(cp)); |
1448 | | } |
1449 | | else { |
1450 | | dest.push_back( |
1451 | | static_cast<char16_t>((u32cp - 0x10000) / 0x400 + 0xd800)); |
1452 | | dest.push_back( |
1453 | | static_cast<char16_t>((u32cp - 0x10000) % 0x400 + 0xd800)); |
1454 | | } |
1455 | | } |
1456 | | } |
1457 | | |
1458 | | template <typename SourceCharT, typename DestCharT> |
1459 | | void transcode_to_string(std::basic_string_view<SourceCharT> src, |
1460 | | std::basic_string<DestCharT>& dest) |
1461 | 2.63k | { |
1462 | 2.63k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1463 | | |
1464 | 2.63k | if constexpr (sizeof(SourceCharT) == 1) { |
1465 | | if constexpr (sizeof(DestCharT) == 2) { |
1466 | | std::u32string tmp; |
1467 | | transcode_to_string_impl_to32(src, tmp); |
1468 | | return transcode_to_string_impl_32to16<false>( |
1469 | | std::u32string_view{tmp}, dest); |
1470 | | } |
1471 | 2.63k | else if constexpr (sizeof(DestCharT) == 4) { |
1472 | 2.63k | return transcode_to_string_impl_to32(src, dest); |
1473 | 2.63k | } |
1474 | | } |
1475 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1476 | | if constexpr (sizeof(DestCharT) == 1) { |
1477 | | std::u32string tmp; |
1478 | | transcode_to_string_impl_to32(src, tmp); |
1479 | | return transcode_to_string_impl_32to8<false>( |
1480 | | std::u32string_view{tmp}, dest); |
1481 | | } |
1482 | | else if constexpr (sizeof(DestCharT) == 4) { |
1483 | | return trasncode_to_string_impl_to32(src, dest); |
1484 | | } |
1485 | | } |
1486 | | else if constexpr (sizeof(SourceCharT) == 4) { |
1487 | | if constexpr (sizeof(DestCharT) == 1) { |
1488 | | return transcode_to_string_impl_32to8<false>(src, dest); |
1489 | | } |
1490 | | else if constexpr (sizeof(DestCharT) == 2) { |
1491 | | return transcode_to_string_impl_32to16<false>(src, dest); |
1492 | | } |
1493 | | } |
1494 | | |
1495 | 2.63k | SCN_EXPECT(false); |
1496 | 2.63k | SCN_UNREACHABLE; |
1497 | 2.63k | } |
1498 | | template <typename SourceCharT, typename DestCharT> |
1499 | | void transcode_valid_to_string(std::basic_string_view<SourceCharT> src, |
1500 | | std::basic_string<DestCharT>& dest) |
1501 | 7.81k | { |
1502 | 7.81k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1503 | | |
1504 | 7.81k | SCN_EXPECT(validate_unicode(src)); |
1505 | 7.81k | if constexpr (sizeof(SourceCharT) == 1) { |
1506 | | if constexpr (sizeof(DestCharT) == 2) { |
1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 |
1508 | | std::u32string tmp; |
1509 | | transcode_valid_to_string_impl_to32(src, tmp); |
1510 | | return transcode_to_string_impl_32to16<true>( |
1511 | | std::u32string_view{tmp}, dest); |
1512 | | } |
1513 | 1.60k | else if constexpr (sizeof(DestCharT) == 4) { |
1514 | 1.60k | return transcode_valid_to_string_impl_to32(src, dest); |
1515 | 1.60k | } |
1516 | | } |
1517 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1518 | | if constexpr (sizeof(DestCharT) == 1) { |
1519 | | std::u32string tmp; |
1520 | | transcode_valid_to_string_impl_to32(src, tmp); |
1521 | | return transcode_to_string_impl_32to8<true>( |
1522 | | std::u32string_view{tmp}, dest); |
1523 | | } |
1524 | | else if constexpr (sizeof(DestCharT) == 4) { |
1525 | | return trasncode_valid_to_string_impl_to32(src, dest); |
1526 | | } |
1527 | | } |
1528 | 6.21k | else if constexpr (sizeof(SourceCharT) == 4) { |
1529 | 6.21k | if constexpr (sizeof(DestCharT) == 1) { |
1530 | 6.21k | return transcode_to_string_impl_32to8<true>(src, dest); |
1531 | | } |
1532 | | else if constexpr (sizeof(DestCharT) == 2) { |
1533 | | return transcode_to_string_impl_32to16<true>(src, dest); |
1534 | | } |
1535 | 6.21k | } |
1536 | | |
1537 | 7.81k | SCN_EXPECT(false); |
1538 | 7.81k | SCN_UNREACHABLE; |
1539 | 7.81k | } void scn::v4::impl::transcode_valid_to_string<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 1501 | 1.60k | { | 1502 | 1.60k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 1.60k | SCN_EXPECT(validate_unicode(src)); | 1505 | 1.60k | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | 1.60k | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | 1.60k | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | 1.60k | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | | if constexpr (sizeof(DestCharT) == 1) { | 1530 | | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | | } | 1536 | | | 1537 | 1.60k | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 1.60k | } |
void scn::v4::impl::transcode_valid_to_string<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 1501 | 6.21k | { | 1502 | 6.21k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 6.21k | SCN_EXPECT(validate_unicode(src)); | 1505 | | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | 6.21k | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | 6.21k | if constexpr (sizeof(DestCharT) == 1) { | 1530 | 6.21k | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | 6.21k | } | 1536 | | | 1537 | 6.21k | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 6.21k | } |
|
1540 | | |
1541 | | template <typename CharT> |
1542 | | constexpr void for_each_code_point(std::basic_string_view<CharT> input, |
1543 | | function_ref<void(char32_t)> cb) |
1544 | 38.6k | { |
1545 | | // TODO: Could be optimized by being eager |
1546 | 38.6k | auto it = input.begin(); |
1547 | 93.3k | while (it != input.end()) { |
1548 | 54.7k | auto res = get_next_code_point( |
1549 | 54.7k | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1550 | 54.7k | cb(res.value); |
1551 | 54.7k | it = detail::make_string_view_iterator(input, res.iterator); |
1552 | 54.7k | } |
1553 | 38.6k | } void scn::v4::impl::for_each_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 35.5k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 35.5k | auto it = input.begin(); | 1547 | 82.8k | while (it != input.end()) { | 1548 | 47.2k | auto res = get_next_code_point( | 1549 | 47.2k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 47.2k | cb(res.value); | 1551 | 47.2k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 47.2k | } | 1553 | 35.5k | } |
void scn::v4::impl::for_each_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 3.11k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 3.11k | auto it = input.begin(); | 1547 | 10.5k | while (it != input.end()) { | 1548 | 7.46k | auto res = get_next_code_point( | 1549 | 7.46k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 7.46k | cb(res.value); | 1551 | 7.46k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 7.46k | } | 1553 | 3.11k | } |
|
1554 | | |
1555 | | template <typename CharT> |
1556 | | constexpr void for_each_code_point_valid(std::basic_string_view<CharT> input, |
1557 | | function_ref<void(char32_t)> cb) |
1558 | | { |
1559 | | auto it = input.begin(); |
1560 | | while (it != input.end()) { |
1561 | | auto res = get_next_code_point_valid( |
1562 | | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1563 | | cb(res.value); |
1564 | | it = detail::make_string_view_iterator(input, res.iterator); |
1565 | | } |
1566 | | } |
1567 | | |
1568 | | ///////////////////////////////////////////////////////////////// |
1569 | | // contiguous_range_factory |
1570 | | ///////////////////////////////////////////////////////////////// |
1571 | | |
1572 | | template <typename View> |
1573 | | class take_width_view; |
1574 | | |
1575 | | template <typename CharT> |
1576 | | struct string_view_wrapper { |
1577 | | using char_type = CharT; |
1578 | | using string_type = std::basic_string<CharT>; |
1579 | | using string_view_type = std::basic_string_view<CharT>; |
1580 | | |
1581 | | constexpr string_view_wrapper() = default; |
1582 | | |
1583 | | template <typename Range, |
1584 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1585 | | ranges::contiguous_range<Range> && |
1586 | | ranges::sized_range<Range>>* = nullptr> |
1587 | 76.6k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) |
1588 | 76.6k | { |
1589 | 76.6k | } _ZN3scn2v44impl19string_view_wrapperIcEC2INS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 12.0k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 12.0k | { | 1589 | 12.0k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISF_Esr6rangesE11sized_rangeISF_EEvE4typeELPv0EEEOSF_ Line | Count | Source | 1587 | 17.0k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 17.0k | { | 1589 | 17.0k | } |
_ZN3scn2v44impl19string_view_wrapperIwEC2INS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 40.2k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 40.2k | { | 1589 | 40.2k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEETnPNS5_9enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISC_Esr6rangesE11sized_rangeISC_EEvE4typeELPv0EEEOSC_ Line | Count | Source | 1587 | 7.31k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 7.31k | { | 1589 | 7.31k | } |
|
1590 | | |
1591 | | template <typename Range, |
1592 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1593 | | ranges::contiguous_range<Range> && |
1594 | | ranges::sized_range<Range>>* = nullptr> |
1595 | | void assign(Range&& r) |
1596 | | { |
1597 | | sv = string_view_type{ranges::data(r), r.size()}; |
1598 | | } |
1599 | | |
1600 | | constexpr auto view() const |
1601 | 115k | { |
1602 | 115k | return sv; |
1603 | 115k | } scn::v4::impl::string_view_wrapper<char>::view() const Line | Count | Source | 1601 | 63.0k | { | 1602 | 63.0k | return sv; | 1603 | 63.0k | } |
scn::v4::impl::string_view_wrapper<wchar_t>::view() const Line | Count | Source | 1601 | 52.2k | { | 1602 | 52.2k | return sv; | 1603 | 52.2k | } |
|
1604 | | |
1605 | | constexpr bool stores_allocated_string() const |
1606 | 0 | { |
1607 | 0 | return false; |
1608 | 0 | } Unexecuted instantiation: scn::v4::impl::string_view_wrapper<char>::stores_allocated_string() const Unexecuted instantiation: scn::v4::impl::string_view_wrapper<wchar_t>::stores_allocated_string() const |
1609 | | |
1610 | | [[noreturn]] string_type get_allocated_string() const |
1611 | | { |
1612 | | SCN_EXPECT(false); |
1613 | | SCN_UNREACHABLE; |
1614 | | } |
1615 | | |
1616 | | string_view_type sv; |
1617 | | }; |
1618 | | |
1619 | | template <typename Range> |
1620 | | string_view_wrapper(Range) |
1621 | | -> string_view_wrapper<detail::char_t<detail::remove_cvref_t<Range>>>; |
1622 | | |
1623 | | template <typename CharT> |
1624 | | class contiguous_range_factory { |
1625 | | public: |
1626 | | using char_type = CharT; |
1627 | | using string_type = std::basic_string<CharT>; |
1628 | | using string_view_type = std::basic_string_view<CharT>; |
1629 | | |
1630 | 14.9k | contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::contiguous_range_factory() Line | Count | Source | 1630 | 2.52k | contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::contiguous_range_factory() Line | Count | Source | 1630 | 12.4k | contiguous_range_factory() = default; |
|
1631 | | |
1632 | | template <typename Range, |
1633 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1634 | | contiguous_range_factory(Range&& range) |
1635 | 2.70k | { |
1636 | 2.70k | emplace_range(SCN_FWD(range)); |
1637 | 2.70k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 2.09k | { | 1636 | 2.09k | emplace_range(SCN_FWD(range)); | 1637 | 2.09k | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 606 | { | 1636 | 606 | emplace_range(SCN_FWD(range)); | 1637 | 606 | } |
|
1638 | | |
1639 | | contiguous_range_factory(string_view_wrapper<CharT> svw) |
1640 | | : m_storage(std::nullopt), m_view(svw.view()) |
1641 | | { |
1642 | | } |
1643 | | |
1644 | | contiguous_range_factory(const contiguous_range_factory&) = delete; |
1645 | | contiguous_range_factory& operator=(const contiguous_range_factory&) = |
1646 | | delete; |
1647 | | |
1648 | | contiguous_range_factory(contiguous_range_factory&& other) |
1649 | | : m_storage(SCN_MOVE(other.m_storage)) |
1650 | | { |
1651 | | if (m_storage) { |
1652 | | m_view = *m_storage; |
1653 | | } |
1654 | | else { |
1655 | | m_view = other.m_view; |
1656 | | } |
1657 | | } |
1658 | | contiguous_range_factory& operator=(contiguous_range_factory&& other) |
1659 | | { |
1660 | | m_storage = SCN_MOVE(other.m_storage); |
1661 | | if (m_storage) { |
1662 | | m_view = *m_storage; |
1663 | | } |
1664 | | else { |
1665 | | m_view = other.m_view; |
1666 | | } |
1667 | | return *this; |
1668 | | } |
1669 | | |
1670 | 17.6k | ~contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::~contiguous_range_factory() Line | Count | Source | 1670 | 4.62k | ~contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::~contiguous_range_factory() Line | Count | Source | 1670 | 13.0k | ~contiguous_range_factory() = default; |
|
1671 | | |
1672 | | template <typename Range, |
1673 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1674 | | void assign(Range&& range) |
1675 | 6.94k | { |
1676 | 6.94k | emplace_range(SCN_FWD(range)); |
1677 | 6.94k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 890 | { | 1676 | 890 | emplace_range(SCN_FWD(range)); | 1677 | 890 | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 6.05k | { | 1676 | 6.05k | emplace_range(SCN_FWD(range)); | 1677 | 6.05k | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINSt3__112basic_stringIwNS5_11char_traitsIwEENS5_9allocatorIwEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ |
1678 | | |
1679 | | string_view_type view() const |
1680 | 17.2k | { |
1681 | 17.2k | return m_view; |
1682 | 17.2k | } scn::v4::impl::contiguous_range_factory<char>::view() const Line | Count | Source | 1680 | 4.32k | { | 1681 | 4.32k | return m_view; | 1682 | 4.32k | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::view() const Line | Count | Source | 1680 | 12.9k | { | 1681 | 12.9k | return m_view; | 1682 | 12.9k | } |
|
1683 | | |
1684 | | constexpr bool stores_allocated_string() const |
1685 | 1.36k | { |
1686 | 1.36k | return m_storage.has_value(); |
1687 | 1.36k | } scn::v4::impl::contiguous_range_factory<char>::stores_allocated_string() const Line | Count | Source | 1685 | 896 | { | 1686 | 896 | return m_storage.has_value(); | 1687 | 896 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::stores_allocated_string() const Line | Count | Source | 1685 | 468 | { | 1686 | 468 | return m_storage.has_value(); | 1687 | 468 | } |
|
1688 | | |
1689 | | string_type& get_allocated_string() & |
1690 | 682 | { |
1691 | 682 | SCN_EXPECT(stores_allocated_string()); |
1692 | 682 | return *m_storage; |
1693 | 682 | } scn::v4::impl::contiguous_range_factory<char>::get_allocated_string() & Line | Count | Source | 1690 | 448 | { | 1691 | 448 | SCN_EXPECT(stores_allocated_string()); | 1692 | 448 | return *m_storage; | 1693 | 448 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::get_allocated_string() & Line | Count | Source | 1690 | 234 | { | 1691 | 234 | SCN_EXPECT(stores_allocated_string()); | 1692 | 234 | return *m_storage; | 1693 | 234 | } |
|
1694 | | const string_type& get_allocated_string() const& |
1695 | | { |
1696 | | SCN_EXPECT(stores_allocated_string()); |
1697 | | return *m_storage; |
1698 | | } |
1699 | | string_type&& get_allocated_string() && |
1700 | | { |
1701 | | SCN_EXPECT(stores_allocated_string()); |
1702 | | return *m_storage; |
1703 | | } |
1704 | | |
1705 | | string_type& make_into_allocated_string() |
1706 | 0 | { |
1707 | 0 | if (stores_allocated_string()) { |
1708 | 0 | return get_allocated_string(); |
1709 | 0 | } |
1710 | | |
1711 | 0 | auto& str = m_storage.emplace(m_view.data(), m_view.size()); |
1712 | 0 | m_view = string_view_type{str.data(), str.size()}; |
1713 | 0 | return str; |
1714 | 0 | } Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<char>::make_into_allocated_string() Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<wchar_t>::make_into_allocated_string() |
1715 | | |
1716 | | private: |
1717 | | template <typename Range> |
1718 | | void emplace_range(Range&& range) |
1719 | 9.64k | { |
1720 | 9.64k | using value_t = ranges::range_value_t<Range>; |
1721 | | |
1722 | | if constexpr (ranges::borrowed_range<Range> && |
1723 | | ranges::contiguous_range<Range> && |
1724 | 6.94k | ranges::sized_range<Range>) { |
1725 | 6.94k | m_storage.reset(); |
1726 | 6.94k | m_view = string_view_type{ranges::data(range), range.size()}; |
1727 | | } |
1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, |
1729 | 0 | std::basic_string<CharT>>) { |
1730 | 0 | m_storage.emplace(SCN_FWD(range)); |
1731 | 0 | m_view = string_view_type{*m_storage}; |
1732 | | } |
1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, |
1734 | | typename detail::basic_scan_buffer< |
1735 | | value_t>::forward_iterator> && |
1736 | 0 | ranges::common_range<Range>) { |
1737 | 0 | auto beg_seg = range.begin().contiguous_segment(); |
1738 | 0 | auto end_seg = range.end().contiguous_segment(); |
1739 | 0 | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != |
1740 | 0 | detail::to_address(end_seg.end()))) { |
1741 | 0 | auto& str = m_storage.emplace(); |
1742 | 0 | str.reserve(range.end().position() - range.begin().position()); |
1743 | 0 | std::copy(range.begin(), range.end(), std::back_inserter(str)); |
1744 | 0 | m_view = string_view_type{str}; |
1745 | 0 | return; |
1746 | 0 | } |
1747 | | |
1748 | 0 | m_view = detail::make_string_view_from_pointers(beg_seg.data(), |
1749 | 0 | end_seg.data()); |
1750 | 0 | m_storage.reset(); |
1751 | | } |
1752 | 2.70k | else { |
1753 | 2.70k | auto& str = m_storage.emplace(); |
1754 | | if constexpr (ranges::sized_range<Range>) { |
1755 | | str.reserve(range.size()); |
1756 | | } |
1757 | 2.70k | if constexpr (ranges::common_range<Range>) { |
1758 | 2.70k | std::copy(ranges::begin(range), ranges::end(range), |
1759 | 2.70k | std::back_inserter(str)); |
1760 | | } |
1761 | | else { |
1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); |
1763 | | ++it) { |
1764 | | str.push_back(*it); |
1765 | | } |
1766 | | } |
1767 | 2.70k | m_view = string_view_type{str}; |
1768 | 2.70k | } |
1769 | 9.64k | } Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1719 | 2.09k | { | 1720 | 2.09k | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 2.09k | else { | 1753 | 2.09k | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 2.09k | if constexpr (ranges::common_range<Range>) { | 1758 | 2.09k | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 2.09k | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 2.09k | m_view = string_view_type{str}; | 1768 | 2.09k | } | 1769 | 2.09k | } |
void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1719 | 890 | { | 1720 | 890 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 890 | ranges::sized_range<Range>) { | 1725 | 890 | m_storage.reset(); | 1726 | 890 | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 890 | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1719 | 606 | { | 1720 | 606 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 606 | else { | 1753 | 606 | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 606 | if constexpr (ranges::common_range<Range>) { | 1758 | 606 | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 606 | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 606 | m_view = string_view_type{str}; | 1768 | 606 | } | 1769 | 606 | } |
void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1719 | 6.05k | { | 1720 | 6.05k | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 6.05k | ranges::sized_range<Range>) { | 1725 | 6.05k | m_storage.reset(); | 1726 | 6.05k | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 6.05k | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&&) |
1770 | | |
1771 | | std::optional<string_type> m_storage{std::nullopt}; |
1772 | | string_view_type m_view{}; |
1773 | | }; |
1774 | | |
1775 | | template <typename Range> |
1776 | | contiguous_range_factory(Range) |
1777 | | -> contiguous_range_factory<detail::char_t<detail::remove_cvref_t<Range>>>; |
1778 | | |
1779 | | template <typename Range> |
1780 | | auto make_contiguous_buffer(Range&& range) |
1781 | 79.3k | { |
1782 | | if constexpr (ranges::borrowed_range<Range> && |
1783 | | ranges::contiguous_range<Range> && |
1784 | 76.6k | ranges::sized_range<Range>) { |
1785 | 76.6k | return string_view_wrapper{SCN_FWD(range)}; |
1786 | | } |
1787 | 2.70k | else { |
1788 | 2.70k | return contiguous_range_factory{SCN_FWD(range)}; |
1789 | 2.70k | } |
1790 | 79.3k | } Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1781 | 2.09k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 2.09k | else { | 1788 | 2.09k | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 2.09k | } | 1790 | 2.09k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1781 | 12.0k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 12.0k | ranges::sized_range<Range>) { | 1785 | 12.0k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 12.0k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&) Line | Count | Source | 1781 | 17.0k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 17.0k | ranges::sized_range<Range>) { | 1785 | 17.0k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 17.0k | } |
Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1781 | 606 | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 606 | else { | 1788 | 606 | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 606 | } | 1790 | 606 | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1781 | 40.2k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 40.2k | ranges::sized_range<Range>) { | 1785 | 40.2k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 40.2k | } |
auto scn::v4::impl::make_contiguous_buffer<std::__1::basic_string_view<char, std::__1::char_traits<char> >&>(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 1781 | 7.31k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 7.31k | ranges::sized_range<Range>) { | 1785 | 7.31k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 7.31k | } |
|
1791 | | } // namespace impl |
1792 | | |
1793 | | ///////////////////////////////////////////////////////////////// |
1794 | | // locale stuff |
1795 | | ///////////////////////////////////////////////////////////////// |
1796 | | |
1797 | | #if !SCN_DISABLE_LOCALE |
1798 | | |
1799 | | namespace detail { |
1800 | | extern template locale_ref::locale_ref(const std::locale&); |
1801 | | extern template auto locale_ref::get() const -> std::locale; |
1802 | | } // namespace detail |
1803 | | |
1804 | | namespace impl { |
1805 | | template <typename Facet> |
1806 | | const Facet& get_facet(detail::locale_ref loc) |
1807 | | { |
1808 | | auto stdloc = loc.get<std::locale>(); |
1809 | | SCN_EXPECT(std::has_facet<Facet>(stdloc)); |
1810 | | return std::use_facet<Facet>(stdloc); |
1811 | | } |
1812 | | |
1813 | | template <typename Facet> |
1814 | | const Facet& get_or_add_facet(std::locale& stdloc) |
1815 | 206 | { |
1816 | 206 | if (std::has_facet<Facet>(stdloc)) { |
1817 | 206 | return std::use_facet<Facet>(stdloc); |
1818 | 206 | } |
1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); |
1820 | 0 | return std::use_facet<Facet>(stdloc); |
1821 | 206 | } std::__1::numpunct<char> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<char> >(std::__1::locale&) Line | Count | Source | 1815 | 88 | { | 1816 | 88 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 88 | return std::use_facet<Facet>(stdloc); | 1818 | 88 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 88 | } |
std::__1::numpunct<wchar_t> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<wchar_t> >(std::__1::locale&) Line | Count | Source | 1815 | 118 | { | 1816 | 118 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 118 | return std::use_facet<Facet>(stdloc); | 1818 | 118 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 118 | } |
|
1822 | | |
1823 | | class clocale_restorer { |
1824 | | public: |
1825 | 0 | clocale_restorer(int cat) : m_category(cat) |
1826 | 0 | { |
1827 | 0 | const auto loc = std::setlocale(cat, nullptr); |
1828 | 0 | std::strcpy(m_locbuf, loc); |
1829 | 0 | } |
1830 | | ~clocale_restorer() |
1831 | 0 | { |
1832 | | // Restore locale to what it was before |
1833 | 0 | std::setlocale(m_category, m_locbuf); |
1834 | 0 | } |
1835 | | |
1836 | | clocale_restorer(const clocale_restorer&) = delete; |
1837 | | clocale_restorer(clocale_restorer&&) = delete; |
1838 | | clocale_restorer& operator=(const clocale_restorer&) = delete; |
1839 | | clocale_restorer& operator=(clocale_restorer&&) = delete; |
1840 | | |
1841 | | private: |
1842 | | // For whatever reason, this cannot be stored in the heap if |
1843 | | // setlocale hasn't been called before, or msan errors with |
1844 | | // 'use-of-unitialized-value' when resetting the locale |
1845 | | // back. POSIX specifies that the content of loc may not be |
1846 | | // static, so we need to save it ourselves |
1847 | | char m_locbuf[64] = {0}; |
1848 | | |
1849 | | int m_category; |
1850 | | }; |
1851 | | |
1852 | | class set_clocale_classic_guard { |
1853 | | public: |
1854 | 0 | set_clocale_classic_guard(int cat) : m_restorer(cat) |
1855 | 0 | { |
1856 | 0 | std::setlocale(cat, "C"); |
1857 | 0 | } |
1858 | | |
1859 | | private: |
1860 | | clocale_restorer m_restorer; |
1861 | | }; |
1862 | | } // namespace impl |
1863 | | |
1864 | | namespace impl { |
1865 | | struct classic_with_thsep_tag {}; |
1866 | | |
1867 | | template <typename CharT> |
1868 | | struct localized_number_formatting_options { |
1869 | 7.46k | localized_number_formatting_options() = default; scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options() Line | Count | Source | 1869 | 1.26k | localized_number_formatting_options() = default; |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options() Line | Count | Source | 1869 | 6.20k | localized_number_formatting_options() = default; |
|
1870 | | |
1871 | | localized_number_formatting_options(classic_with_thsep_tag) |
1872 | 0 | { |
1873 | 0 | grouping = "\3"; |
1874 | 0 | thousands_sep = CharT{','}; |
1875 | 0 | } Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) |
1876 | | |
1877 | | localized_number_formatting_options(detail::locale_ref loc) |
1878 | 158 | { |
1879 | 158 | auto stdloc = loc.get<std::locale>(); |
1880 | 158 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); |
1881 | 158 | grouping = numpunct.grouping(); |
1882 | 158 | thousands_sep = |
1883 | 158 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; |
1884 | 158 | decimal_point = numpunct.decimal_point(); |
1885 | 158 | } scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 62 | { | 1879 | 62 | auto stdloc = loc.get<std::locale>(); | 1880 | 62 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 62 | grouping = numpunct.grouping(); | 1882 | 62 | thousands_sep = | 1883 | 62 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 62 | decimal_point = numpunct.decimal_point(); | 1885 | 62 | } |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 96 | { | 1879 | 96 | auto stdloc = loc.get<std::locale>(); | 1880 | 96 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 96 | grouping = numpunct.grouping(); | 1882 | 96 | thousands_sep = | 1883 | 96 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 96 | decimal_point = numpunct.decimal_point(); | 1885 | 96 | } |
|
1886 | | |
1887 | | std::string grouping{}; |
1888 | | CharT thousands_sep{0}; |
1889 | | CharT decimal_point{CharT{'.'}}; |
1890 | | }; |
1891 | | } // namespace impl |
1892 | | |
1893 | | #else |
1894 | | |
1895 | | namespace impl { |
1896 | | struct set_clocale_classic_guard { |
1897 | | set_clocale_classic_guard(int) {} |
1898 | | }; |
1899 | | |
1900 | | struct classic_with_thsep_tag {}; |
1901 | | |
1902 | | template <typename CharT> |
1903 | | struct localized_number_formatting_options { |
1904 | | localized_number_formatting_options() = default; |
1905 | | |
1906 | | localized_number_formatting_options(classic_with_thsep_tag) |
1907 | | { |
1908 | | grouping = "\3"; |
1909 | | thousands_sep = CharT{','}; |
1910 | | } |
1911 | | |
1912 | | std::string grouping{}; |
1913 | | CharT thousands_sep{0}; |
1914 | | CharT decimal_point{CharT{'.'}}; |
1915 | | }; |
1916 | | } // namespace impl |
1917 | | |
1918 | | #endif // !SCN_DISABLE_LOCALE |
1919 | | |
1920 | | ///////////////////////////////////////////////////////////////// |
1921 | | // Range reading algorithms |
1922 | | ///////////////////////////////////////////////////////////////// |
1923 | | |
1924 | | namespace impl { |
1925 | | |
1926 | | std::string_view::iterator find_classic_space_narrow_fast( |
1927 | | std::string_view source); |
1928 | | |
1929 | | std::string_view::iterator find_classic_nonspace_narrow_fast( |
1930 | | std::string_view source); |
1931 | | |
1932 | | std::string_view::iterator find_nondecimal_digit_narrow_fast( |
1933 | | std::string_view source); |
1934 | | |
1935 | | template <typename Range> |
1936 | | auto read_all(Range range) -> ranges::const_iterator_t<Range> |
1937 | 7.19k | { |
1938 | 7.19k | return ranges::next(range.begin(), range.end()); |
1939 | 7.19k | } _ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 890 | { | 1938 | 890 | return ranges::next(range.begin(), range.end()); | 1939 | 890 | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 168 | { | 1938 | 168 | return ranges::next(range.begin(), range.end()); | 1939 | 168 | } |
_ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 6.05k | { | 1938 | 6.05k | return ranges::next(range.begin(), range.end()); | 1939 | 6.05k | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 84 | { | 1938 | 84 | return ranges::next(range.begin(), range.end()); | 1939 | 84 | } |
|
1940 | | |
1941 | | template <typename Range> |
1942 | | auto read_code_unit(Range range) |
1943 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1944 | 52.4k | { |
1945 | 52.4k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1946 | 0 | return unexpected(e); |
1947 | 0 | } |
1948 | | |
1949 | 52.4k | return ranges::next(range.begin()); |
1950 | 52.4k | } Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 2.39k | { | 1945 | 2.39k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 2.39k | return ranges::next(range.begin()); | 1950 | 2.39k | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 40 | { | 1945 | 40 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 40 | return ranges::next(range.begin()); | 1950 | 40 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 6.38k | { | 1945 | 6.38k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 6.38k | return ranges::next(range.begin()); | 1950 | 6.38k | } |
Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 1.04k | { | 1945 | 1.04k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 1.04k | return ranges::next(range.begin()); | 1950 | 1.04k | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 44 | { | 1945 | 44 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 44 | return ranges::next(range.begin()); | 1950 | 44 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 42.5k | { | 1945 | 42.5k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 42.5k | return ranges::next(range.begin()); | 1950 | 42.5k | } |
|
1951 | | |
1952 | | template <typename Range> |
1953 | | auto read_exactly_n_code_units(Range range, std::ptrdiff_t count) |
1954 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1955 | 77.1k | { |
1956 | 77.1k | SCN_EXPECT(count >= 0); |
1957 | | |
1958 | 77.1k | if constexpr (ranges::sized_range<Range>) { |
1959 | 68.8k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); |
1960 | 68.8k | if (sz < count) { |
1961 | 722 | return unexpected(eof_error::eof); |
1962 | 722 | } |
1963 | | |
1964 | 68.1k | return ranges::next(range.begin(), count); |
1965 | | } |
1966 | 8.31k | else { |
1967 | 8.31k | auto it = range.begin(); |
1968 | 8.31k | if (guaranteed_minimum_size(range) >= count) { |
1969 | 0 | return ranges::next(it, count); |
1970 | 0 | } |
1971 | | |
1972 | 31.8k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { |
1973 | 24.3k | if (it == range.end()) { |
1974 | 784 | return unexpected(eof_error::eof); |
1975 | 784 | } |
1976 | 24.3k | } |
1977 | | |
1978 | 7.53k | return it; |
1979 | 8.31k | } |
1980 | 77.1k | } Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 32.3k | { | 1956 | 32.3k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 32.3k | if constexpr (ranges::sized_range<Range>) { | 1959 | 32.3k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 32.3k | if (sz < count) { | 1961 | 552 | return unexpected(eof_error::eof); | 1962 | 552 | } | 1963 | | | 1964 | 31.7k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 32.3k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 5.85k | { | 1956 | 5.85k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 5.85k | else { | 1967 | 5.85k | auto it = range.begin(); | 1968 | 5.85k | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 21.4k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 15.9k | if (it == range.end()) { | 1974 | 298 | return unexpected(eof_error::eof); | 1975 | 298 | } | 1976 | 15.9k | } | 1977 | | | 1978 | 5.55k | return it; | 1979 | 5.85k | } | 1980 | 5.85k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 36.5k | { | 1956 | 36.5k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 36.5k | if constexpr (ranges::sized_range<Range>) { | 1959 | 36.5k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 36.5k | if (sz < count) { | 1961 | 170 | return unexpected(eof_error::eof); | 1962 | 170 | } | 1963 | | | 1964 | 36.3k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 36.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 646 | { | 1956 | 646 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 646 | else { | 1967 | 646 | auto it = range.begin(); | 1968 | 646 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 2.08k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.54k | if (it == range.end()) { | 1974 | 112 | return unexpected(eof_error::eof); | 1975 | 112 | } | 1976 | 1.54k | } | 1977 | | | 1978 | 534 | return it; | 1979 | 646 | } | 1980 | 646 | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l Line | Count | Source | 1955 | 684 | { | 1956 | 684 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 684 | else { | 1967 | 684 | auto it = range.begin(); | 1968 | 684 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 2.74k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 2.17k | if (it == range.end()) { | 1974 | 108 | return unexpected(eof_error::eof); | 1975 | 108 | } | 1976 | 2.17k | } | 1977 | | | 1978 | 576 | return it; | 1979 | 684 | } | 1980 | 684 | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 836 | { | 1956 | 836 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 836 | else { | 1967 | 836 | auto it = range.begin(); | 1968 | 836 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 4.16k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 3.50k | if (it == range.end()) { | 1974 | 172 | return unexpected(eof_error::eof); | 1975 | 172 | } | 1976 | 3.50k | } | 1977 | | | 1978 | 664 | return it; | 1979 | 836 | } | 1980 | 836 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 296 | { | 1956 | 296 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 296 | else { | 1967 | 296 | auto it = range.begin(); | 1968 | 296 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 1.39k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.18k | if (it == range.end()) { | 1974 | 94 | return unexpected(eof_error::eof); | 1975 | 94 | } | 1976 | 1.18k | } | 1977 | | | 1978 | 202 | return it; | 1979 | 296 | } | 1980 | 296 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l |
1981 | | |
1982 | | template <typename Iterator, typename CharT> |
1983 | | struct read_code_point_into_result { |
1984 | | Iterator iterator; |
1985 | | std::basic_string<CharT> codepoint; |
1986 | | |
1987 | | bool is_valid() const |
1988 | 562k | { |
1989 | 562k | return !codepoint.empty(); |
1990 | 562k | } Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, char>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, char>::is_valid() const Line | Count | Source | 1988 | 27.7k | { | 1989 | 27.7k | return !codepoint.empty(); | 1990 | 27.7k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, char>::is_valid() const scn::v4::impl::read_code_point_into_result<char const*, char>::is_valid() const Line | Count | Source | 1988 | 249k | { | 1989 | 249k | return !codepoint.empty(); | 1990 | 249k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, wchar_t>::is_valid() const Line | Count | Source | 1988 | 11.9k | { | 1989 | 11.9k | return !codepoint.empty(); | 1990 | 11.9k | } |
scn::v4::impl::read_code_point_into_result<wchar_t const*, wchar_t>::is_valid() const Line | Count | Source | 1988 | 268k | { | 1989 | 268k | return !codepoint.empty(); | 1990 | 268k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, char>::is_valid() const Line | Count | Source | 1988 | 3.45k | { | 1989 | 3.45k | return !codepoint.empty(); | 1990 | 3.45k | } |
scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, wchar_t>::is_valid() const Line | Count | Source | 1988 | 1.02k | { | 1989 | 1.02k | return !codepoint.empty(); | 1990 | 1.02k | } |
|
1991 | | }; |
1992 | | |
1993 | | template <typename Range> |
1994 | | auto read_code_point_into(Range range) |
1995 | | -> read_code_point_into_result<ranges::const_iterator_t<Range>, |
1996 | | detail::char_t<Range>> |
1997 | 562k | { |
1998 | 562k | SCN_EXPECT(!is_range_eof(range)); |
1999 | 562k | using string_type = std::basic_string<detail::char_t<Range>>; |
2000 | | |
2001 | 562k | auto it = range.begin(); |
2002 | 562k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
2003 | | |
2004 | 562k | if (SCN_UNLIKELY(len == 0)) { |
2005 | 3.88k | ++it; |
2006 | 3.88k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); |
2007 | 3.88k | return {it, {}}; |
2008 | 3.88k | } |
2009 | | |
2010 | 558k | if (len == 1) { |
2011 | 516k | ++it; |
2012 | 516k | return {it, string_type(1, *range.begin())}; |
2013 | 516k | } |
2014 | | |
2015 | 41.5k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); |
2016 | 41.5k | return {it, string_type{range.begin(), it}}; |
2017 | 558k | } Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 27.7k | { | 1998 | 27.7k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 27.7k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 27.7k | auto it = range.begin(); | 2002 | 27.7k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 27.7k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 2.91k | ++it; | 2006 | 2.91k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 2.91k | return {it, {}}; | 2008 | 2.91k | } | 2009 | | | 2010 | 24.7k | if (len == 1) { | 2011 | 21.4k | ++it; | 2012 | 21.4k | return {it, string_type(1, *range.begin())}; | 2013 | 21.4k | } | 2014 | | | 2015 | 3.32k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 3.32k | return {it, string_type{range.begin(), it}}; | 2017 | 24.7k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 249k | { | 1998 | 249k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 249k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 249k | auto it = range.begin(); | 2002 | 249k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 249k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 966 | ++it; | 2006 | 966 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 966 | return {it, {}}; | 2008 | 966 | } | 2009 | | | 2010 | 248k | if (len == 1) { | 2011 | 211k | ++it; | 2012 | 211k | return {it, string_type(1, *range.begin())}; | 2013 | 211k | } | 2014 | | | 2015 | 37.3k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 37.3k | return {it, string_type{range.begin(), it}}; | 2017 | 248k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 268k | { | 1998 | 268k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 268k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 268k | auto it = range.begin(); | 2002 | 268k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 268k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 268k | if (len == 1) { | 2011 | 268k | ++it; | 2012 | 268k | return {it, string_type(1, *range.begin())}; | 2013 | 268k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 268k | } |
_ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 11.9k | { | 1998 | 11.9k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 11.9k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 11.9k | auto it = range.begin(); | 2002 | 11.9k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 11.9k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 11.9k | if (len == 1) { | 2011 | 11.9k | ++it; | 2012 | 11.9k | return {it, string_type(1, *range.begin())}; | 2013 | 11.9k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 11.9k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 3.45k | { | 1998 | 3.45k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 3.45k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 3.45k | auto it = range.begin(); | 2002 | 3.45k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 3.45k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 3.45k | if (len == 1) { | 2011 | 2.58k | ++it; | 2012 | 2.58k | return {it, string_type(1, *range.begin())}; | 2013 | 2.58k | } | 2014 | | | 2015 | 870 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 870 | return {it, string_type{range.begin(), it}}; | 2017 | 3.45k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 1.02k | { | 1998 | 1.02k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 1.02k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 1.02k | auto it = range.begin(); | 2002 | 1.02k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 1.02k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 1.02k | if (len == 1) { | 2011 | 1.02k | ++it; | 2012 | 1.02k | return {it, string_type(1, *range.begin())}; | 2013 | 1.02k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 1.02k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ |
2018 | | |
2019 | | template <typename Range> |
2020 | | auto read_code_point(Range range) -> ranges::const_iterator_t<Range> |
2021 | | { |
2022 | | return read_code_point_into(range).iterator; |
2023 | | } |
2024 | | |
2025 | | template <typename Range> |
2026 | | auto read_exactly_n_code_points(Range range, std::ptrdiff_t count) |
2027 | | -> eof_expected<ranges::const_iterator_t<Range>> |
2028 | | { |
2029 | | SCN_EXPECT(count >= 0); |
2030 | | |
2031 | | if (count > 0) { |
2032 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
2033 | | return unexpected(e); |
2034 | | } |
2035 | | } |
2036 | | |
2037 | | auto it = range.begin(); |
2038 | | for (std::ptrdiff_t i = 0; i < count; ++i) { |
2039 | | auto rng = ranges::subrange{it, range.end()}; |
2040 | | |
2041 | | if (auto e = eof_check(rng); SCN_UNLIKELY(!e)) { |
2042 | | return unexpected(e); |
2043 | | } |
2044 | | |
2045 | | it = read_code_point(rng); |
2046 | | } |
2047 | | |
2048 | | return it; |
2049 | | } |
2050 | | |
2051 | | template <typename Range> |
2052 | | auto read_until_code_unit(Range range, |
2053 | | function_ref<bool(detail::char_t<Range>)> pred) |
2054 | | -> ranges::const_iterator_t<Range> |
2055 | 4.90k | { |
2056 | 4.90k | if constexpr (ranges::common_range<Range>) { |
2057 | 1.44k | return std::find_if(range.begin(), range.end(), pred); |
2058 | | } |
2059 | 3.46k | else { |
2060 | 3.46k | auto first = range.begin(); |
2061 | 14.8k | for (; first != range.end(); ++first) { |
2062 | 14.2k | if (pred(*first)) { |
2063 | 2.93k | return first; |
2064 | 2.93k | } |
2065 | 14.2k | } |
2066 | 528 | return first; |
2067 | 3.46k | } |
2068 | 4.90k | } Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2055 | 1.35k | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 1.35k | else { | 2060 | 1.35k | auto first = range.begin(); | 2061 | 1.35k | for (; first != range.end(); ++first) { | 2062 | 1.35k | if (pred(*first)) { | 2063 | 1.35k | return first; | 2064 | 1.35k | } | 2065 | 1.35k | } | 2066 | 0 | return first; | 2067 | 1.35k | } | 2068 | 1.35k | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2055 | 744 | { | 2056 | 744 | if constexpr (ranges::common_range<Range>) { | 2057 | 744 | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (pred(*first)) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 744 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2055 | 578 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 578 | else { | 2060 | 578 | auto first = range.begin(); | 2061 | 9.69k | for (; first != range.end(); ++first) { | 2062 | 9.36k | if (pred(*first)) { | 2063 | 244 | return first; | 2064 | 244 | } | 2065 | 9.36k | } | 2066 | 334 | return first; | 2067 | 578 | } | 2068 | 578 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2055 | 566 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 566 | else { | 2060 | 566 | auto first = range.begin(); | 2061 | 566 | for (; first != range.end(); ++first) { | 2062 | 566 | if (pred(*first)) { | 2063 | 566 | return first; | 2064 | 566 | } | 2065 | 566 | } | 2066 | 0 | return first; | 2067 | 566 | } | 2068 | 566 | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2055 | 700 | { | 2056 | 700 | if constexpr (ranges::common_range<Range>) { | 2057 | 700 | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (pred(*first)) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 700 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2055 | 244 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 244 | else { | 2060 | 244 | auto first = range.begin(); | 2061 | 2.07k | for (; first != range.end(); ++first) { | 2062 | 1.95k | if (pred(*first)) { | 2063 | 120 | return first; | 2064 | 120 | } | 2065 | 1.95k | } | 2066 | 124 | return first; | 2067 | 244 | } | 2068 | 244 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2055 | 480 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 480 | else { | 2060 | 480 | auto first = range.begin(); | 2061 | 732 | for (; first != range.end(); ++first) { | 2062 | 696 | if (pred(*first)) { | 2063 | 444 | return first; | 2064 | 444 | } | 2065 | 696 | } | 2066 | 36 | return first; | 2067 | 480 | } | 2068 | 480 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2055 | 242 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 242 | else { | 2060 | 242 | auto first = range.begin(); | 2061 | 382 | for (; first != range.end(); ++first) { | 2062 | 348 | if (pred(*first)) { | 2063 | 208 | return first; | 2064 | 208 | } | 2065 | 348 | } | 2066 | 34 | return first; | 2067 | 242 | } | 2068 | 242 | } |
|
2069 | | |
2070 | | template <typename Range> |
2071 | | auto read_while_code_unit(Range range, |
2072 | | function_ref<bool(detail::char_t<Range>)> pred) |
2073 | | -> ranges::const_iterator_t<Range> |
2074 | 4.12k | { |
2075 | 4.12k | return read_until_code_unit(range, std::not_fn(pred)); |
2076 | 4.12k | } Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 1.35k | { | 2075 | 1.35k | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 1.35k | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 552 | { | 2075 | 552 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 552 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 278 | { | 2075 | 278 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 278 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 566 | { | 2075 | 566 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 566 | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 526 | { | 2075 | 526 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 526 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 130 | { | 2075 | 130 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 130 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 480 | { | 2075 | 480 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 480 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 242 | { | 2075 | 242 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 242 | } |
|
2077 | | |
2078 | | template <typename Range> |
2079 | | auto read_until1_code_unit(Range range, |
2080 | | function_ref<bool(detail::char_t<Range>)> pred) |
2081 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2082 | | { |
2083 | | auto it = read_until_code_unit(range, pred); |
2084 | | if (it == range.begin()) { |
2085 | | return unexpected(parse_error::error); |
2086 | | } |
2087 | | return it; |
2088 | | } |
2089 | | |
2090 | | template <typename Range> |
2091 | | auto read_while1_code_unit(Range range, |
2092 | | function_ref<bool(detail::char_t<Range>)> pred) |
2093 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2094 | 1.95k | { |
2095 | 1.95k | auto it = read_while_code_unit(range, pred); |
2096 | 1.95k | if (it == range.begin()) { |
2097 | 1.95k | return unexpected(parse_error::error); |
2098 | 1.95k | } |
2099 | 0 | return it; |
2100 | 1.95k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2094 | 1.35k | { | 2095 | 1.35k | auto it = read_while_code_unit(range, pred); | 2096 | 1.35k | if (it == range.begin()) { | 2097 | 1.35k | return unexpected(parse_error::error); | 2098 | 1.35k | } | 2099 | 0 | return it; | 2100 | 1.35k | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2094 | 22 | { | 2095 | 22 | auto it = read_while_code_unit(range, pred); | 2096 | 22 | if (it == range.begin()) { | 2097 | 22 | return unexpected(parse_error::error); | 2098 | 22 | } | 2099 | 0 | return it; | 2100 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2094 | 566 | { | 2095 | 566 | auto it = read_while_code_unit(range, pred); | 2096 | 566 | if (it == range.begin()) { | 2097 | 566 | return unexpected(parse_error::error); | 2098 | 566 | } | 2099 | 0 | return it; | 2100 | 566 | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2094 | 12 | { | 2095 | 12 | auto it = read_while_code_unit(range, pred); | 2096 | 12 | if (it == range.begin()) { | 2097 | 12 | return unexpected(parse_error::error); | 2098 | 12 | } | 2099 | 0 | return it; | 2100 | 12 | } |
|
2101 | | |
2102 | | template <typename Range, typename CodeUnits> |
2103 | | auto read_until_code_units(Range range, const CodeUnits& needle) |
2104 | | -> ranges::const_iterator_t<Range> |
2105 | 234 | { |
2106 | 234 | static_assert(ranges::common_range<CodeUnits>); |
2107 | | |
2108 | 234 | if constexpr (ranges::common_range<Range>) { |
2109 | 84 | return std::search(range.begin(), range.end(), needle.begin(), |
2110 | 84 | needle.end()); |
2111 | | } |
2112 | 150 | else { |
2113 | 150 | auto first = range.begin(); |
2114 | 2.08k | while (true) { |
2115 | 2.08k | auto it = first; |
2116 | 2.46k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { |
2117 | 2.46k | if (needle_it == needle.end()) { |
2118 | 102 | return first; |
2119 | 102 | } |
2120 | 2.35k | if (it == range.end()) { |
2121 | 48 | return it; |
2122 | 48 | } |
2123 | 2.31k | if (*it != *needle_it) { |
2124 | 1.93k | break; |
2125 | 1.93k | } |
2126 | 2.31k | } |
2127 | 1.93k | ++first; |
2128 | 1.93k | } |
2129 | 150 | } |
2130 | 234 | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2105 | 150 | { | 2106 | 150 | static_assert(ranges::common_range<CodeUnits>); | 2107 | | | 2108 | | if constexpr (ranges::common_range<Range>) { | 2109 | | return std::search(range.begin(), range.end(), needle.begin(), | 2110 | | needle.end()); | 2111 | | } | 2112 | 150 | else { | 2113 | 150 | auto first = range.begin(); | 2114 | 2.08k | while (true) { | 2115 | 2.08k | auto it = first; | 2116 | 2.46k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2117 | 2.46k | if (needle_it == needle.end()) { | 2118 | 102 | return first; | 2119 | 102 | } | 2120 | 2.35k | if (it == range.end()) { | 2121 | 48 | return it; | 2122 | 48 | } | 2123 | 2.31k | if (*it != *needle_it) { | 2124 | 1.93k | break; | 2125 | 1.93k | } | 2126 | 2.31k | } | 2127 | 1.93k | ++first; | 2128 | 1.93k | } | 2129 | 150 | } | 2130 | 150 | } |
_ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2105 | 84 | { | 2106 | 84 | static_assert(ranges::common_range<CodeUnits>); | 2107 | | | 2108 | 84 | if constexpr (ranges::common_range<Range>) { | 2109 | 84 | return std::search(range.begin(), range.end(), needle.begin(), | 2110 | 84 | needle.end()); | 2111 | | } | 2112 | | else { | 2113 | | auto first = range.begin(); | 2114 | | while (true) { | 2115 | | auto it = first; | 2116 | | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2117 | | if (needle_it == needle.end()) { | 2118 | | return first; | 2119 | | } | 2120 | | if (it == range.end()) { | 2121 | | return it; | 2122 | | } | 2123 | | if (*it != *needle_it) { | 2124 | | break; | 2125 | | } | 2126 | | } | 2127 | | ++first; | 2128 | | } | 2129 | | } | 2130 | 84 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ |
2131 | | |
2132 | | template <typename Range, typename CodeUnits> |
2133 | | auto read_while_code_units(Range range, const CodeUnits& needle) |
2134 | | -> ranges::const_iterator_t<Range> |
2135 | 1.15k | { |
2136 | 1.15k | static_assert(ranges::common_range<CodeUnits>); |
2137 | | |
2138 | 1.15k | auto it = range.begin(); |
2139 | 1.61k | while (it != range.end()) { |
2140 | 1.53k | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, |
2141 | 1.53k | needle.size()); |
2142 | 1.53k | if (!r) { |
2143 | 170 | return it; |
2144 | 170 | } |
2145 | 1.36k | static_assert( |
2146 | 1.36k | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); |
2147 | 1.36k | if (!std::equal(it, *r, needle.begin())) { |
2148 | 898 | return it; |
2149 | 898 | } |
2150 | 464 | it = *r; |
2151 | 464 | } |
2152 | 84 | SCN_ENSURE(it == range.end()); |
2153 | 84 | return it; |
2154 | 84 | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2135 | 258 | { | 2136 | 258 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 258 | auto it = range.begin(); | 2139 | 400 | while (it != range.end()) { | 2140 | 400 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 400 | needle.size()); | 2142 | 400 | if (!r) { | 2143 | 6 | return it; | 2144 | 6 | } | 2145 | 394 | static_assert( | 2146 | 394 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 394 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 252 | return it; | 2149 | 252 | } | 2150 | 142 | it = *r; | 2151 | 142 | } | 2152 | 0 | SCN_ENSURE(it == range.end()); | 2153 | 0 | return it; | 2154 | 0 | } |
_ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2135 | 290 | { | 2136 | 290 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 290 | auto it = range.begin(); | 2139 | 498 | while (it != range.end()) { | 2140 | 448 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 448 | needle.size()); | 2142 | 448 | if (!r) { | 2143 | 56 | return it; | 2144 | 56 | } | 2145 | 392 | static_assert( | 2146 | 392 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 392 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 184 | return it; | 2149 | 184 | } | 2150 | 208 | it = *r; | 2151 | 208 | } | 2152 | 50 | SCN_ENSURE(it == range.end()); | 2153 | 50 | return it; | 2154 | 50 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Line | Count | Source | 2135 | 604 | { | 2136 | 604 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 604 | auto it = range.begin(); | 2139 | 718 | while (it != range.end()) { | 2140 | 684 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 684 | needle.size()); | 2142 | 684 | if (!r) { | 2143 | 108 | return it; | 2144 | 108 | } | 2145 | 576 | static_assert( | 2146 | 576 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 576 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 462 | return it; | 2149 | 462 | } | 2150 | 114 | it = *r; | 2151 | 114 | } | 2152 | 34 | SCN_ENSURE(it == range.end()); | 2153 | 34 | return it; | 2154 | 34 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ |
2155 | | |
2156 | | template <typename Range> |
2157 | | auto read_until_code_point(Range range, function_ref<bool(char32_t)> pred) |
2158 | | -> ranges::const_iterator_t<Range> |
2159 | 187k | { |
2160 | 187k | auto it = range.begin(); |
2161 | 585k | while (it != range.end()) { |
2162 | 562k | const auto val = |
2163 | 562k | read_code_point_into(ranges::subrange{it, range.end()}); |
2164 | 562k | if (SCN_LIKELY(val.is_valid())) { |
2165 | 558k | const auto cp = detail::decode_code_point_exhaustive( |
2166 | 558k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); |
2167 | 558k | if (pred(cp)) { |
2168 | 164k | return it; |
2169 | 164k | } |
2170 | 558k | } |
2171 | 397k | it = val.iterator; |
2172 | 397k | } |
2173 | | |
2174 | 23.0k | return it; |
2175 | 187k | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2159 | 984 | { | 2160 | 984 | auto it = range.begin(); | 2161 | 14.8k | while (it != range.end()) { | 2162 | 14.4k | const auto val = | 2163 | 14.4k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 14.4k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 13.2k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 13.2k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 13.2k | if (pred(cp)) { | 2168 | 608 | return it; | 2169 | 608 | } | 2170 | 13.2k | } | 2171 | 13.8k | it = val.iterator; | 2172 | 13.8k | } | 2173 | | | 2174 | 376 | return it; | 2175 | 984 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2159 | 930 | { | 2160 | 930 | auto it = range.begin(); | 2161 | 13.9k | while (it != range.end()) { | 2162 | 13.2k | const auto val = | 2163 | 13.2k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 13.2k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 11.5k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 11.5k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 11.5k | if (pred(cp)) { | 2168 | 210 | return it; | 2169 | 210 | } | 2170 | 11.5k | } | 2171 | 13.0k | it = val.iterator; | 2172 | 13.0k | } | 2173 | | | 2174 | 720 | return it; | 2175 | 930 | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2159 | 2.29k | { | 2160 | 2.29k | auto it = range.begin(); | 2161 | 249k | while (it != range.end()) { | 2162 | 249k | const auto val = | 2163 | 249k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 249k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 248k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 248k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 248k | if (pred(cp)) { | 2168 | 2.13k | return it; | 2169 | 2.13k | } | 2170 | 248k | } | 2171 | 247k | it = val.iterator; | 2172 | 247k | } | 2173 | | | 2174 | 168 | return it; | 2175 | 2.29k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2159 | 56.1k | { | 2160 | 56.1k | auto it = range.begin(); | 2161 | 58.0k | while (it != range.end()) { | 2162 | 39.6k | const auto val = | 2163 | 39.6k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 39.6k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 39.6k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 39.6k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 39.6k | if (pred(cp)) { | 2168 | 37.7k | return it; | 2169 | 37.7k | } | 2170 | 39.6k | } | 2171 | 1.89k | it = val.iterator; | 2172 | 1.89k | } | 2173 | | | 2174 | 18.3k | return it; | 2175 | 56.1k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2159 | 654 | { | 2160 | 654 | auto it = range.begin(); | 2161 | 4.93k | while (it != range.end()) { | 2162 | 4.82k | const auto val = | 2163 | 4.82k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 4.82k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 4.82k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 4.82k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 4.82k | if (pred(cp)) { | 2168 | 544 | return it; | 2169 | 544 | } | 2170 | 4.82k | } | 2171 | 4.28k | it = val.iterator; | 2172 | 4.28k | } | 2173 | | | 2174 | 110 | return it; | 2175 | 654 | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2159 | 123k | { | 2160 | 123k | auto it = range.begin(); | 2161 | 231k | while (it != range.end()) { | 2162 | 228k | const auto val = | 2163 | 228k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 228k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 228k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 228k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 228k | if (pred(cp)) { | 2168 | 120k | return it; | 2169 | 120k | } | 2170 | 228k | } | 2171 | 108k | it = val.iterator; | 2172 | 108k | } | 2173 | | | 2174 | 2.71k | return it; | 2175 | 123k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2159 | 372 | { | 2160 | 372 | auto it = range.begin(); | 2161 | 7.42k | while (it != range.end()) { | 2162 | 7.12k | const auto val = | 2163 | 7.12k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 7.12k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 7.12k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 7.12k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 7.12k | if (pred(cp)) { | 2168 | 72 | return it; | 2169 | 72 | } | 2170 | 7.12k | } | 2171 | 7.05k | it = val.iterator; | 2172 | 7.05k | } | 2173 | | | 2174 | 300 | return it; | 2175 | 372 | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2159 | 2.28k | { | 2160 | 2.28k | auto it = range.begin(); | 2161 | 3.69k | while (it != range.end()) { | 2162 | 3.45k | const auto val = | 2163 | 3.45k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 3.45k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 3.45k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 3.45k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 3.45k | if (pred(cp)) { | 2168 | 2.04k | return it; | 2169 | 2.04k | } | 2170 | 3.45k | } | 2171 | 1.41k | it = val.iterator; | 2172 | 1.41k | } | 2173 | | | 2174 | 238 | return it; | 2175 | 2.28k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2159 | 980 | { | 2160 | 980 | auto it = range.begin(); | 2161 | 1.05k | while (it != range.end()) { | 2162 | 1.02k | const auto val = | 2163 | 1.02k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 1.02k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 1.02k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 1.02k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 1.02k | if (pred(cp)) { | 2168 | 956 | return it; | 2169 | 956 | } | 2170 | 1.02k | } | 2171 | 72 | it = val.iterator; | 2172 | 72 | } | 2173 | | | 2174 | 24 | return it; | 2175 | 980 | } |
|
2176 | | |
2177 | | template <typename Range> |
2178 | | auto read_while_code_point(Range range, function_ref<bool(char32_t)> pred) |
2179 | | -> ranges::const_iterator_t<Range> |
2180 | 167k | { |
2181 | 167k | return read_until_code_point(range, std::not_fn(pred)); |
2182 | 167k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2180 | 762 | { | 2181 | 762 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 762 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2180 | 2.08k | { | 2181 | 2.08k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 2.08k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2180 | 56.1k | { | 2181 | 56.1k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 56.1k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2180 | 534 | { | 2181 | 534 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 534 | } |
_ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2180 | 104k | { | 2181 | 104k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 104k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2180 | 2.28k | { | 2181 | 2.28k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 2.28k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2180 | 980 | { | 2181 | 980 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 980 | } |
|
2183 | | |
2184 | | template <typename Range> |
2185 | | auto read_until_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2186 | 22.2k | { |
2187 | | if constexpr (ranges::contiguous_range<Range> && |
2188 | | ranges::sized_range<Range> && |
2189 | 2.85k | std::is_same_v<detail::char_t<Range>, char>) { |
2190 | 2.85k | auto buf = make_contiguous_buffer(range); |
2191 | 2.85k | auto it = find_classic_space_narrow_fast(buf.view()); |
2192 | 2.85k | return ranges::next(range.begin(), |
2193 | 2.85k | ranges::distance(buf.view().begin(), it)); |
2194 | | } |
2195 | 19.4k | else { |
2196 | 19.4k | auto it = range.begin(); |
2197 | | |
2198 | 19.4k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2199 | 930 | auto seg = get_contiguous_beginning(range); |
2200 | 930 | if (auto seg_it = find_classic_space_narrow_fast(seg); |
2201 | 930 | seg_it != seg.end()) { |
2202 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2203 | 0 | } |
2204 | 930 | ranges::advance(it, seg.size()); |
2205 | 930 | } |
2206 | | |
2207 | 0 | return read_until_code_point( |
2208 | 19.4k | ranges::subrange{it, range.end()}, |
2209 | 87.8k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); });Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2209 | 11.5k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2209 | 7.12k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2209 | 69.2k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi |
2210 | 19.4k | } |
2211 | 22.2k | } Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2186 | 930 | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 930 | else { | 2196 | 930 | auto it = range.begin(); | 2197 | | | 2198 | 930 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | 930 | auto seg = get_contiguous_beginning(range); | 2200 | 930 | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | 930 | seg_it != seg.end()) { | 2202 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | 0 | } | 2204 | 930 | ranges::advance(it, seg.size()); | 2205 | 930 | } | 2206 | | | 2207 | 0 | return read_until_code_point( | 2208 | 930 | ranges::subrange{it, range.end()}, | 2209 | 930 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 930 | } | 2211 | 930 | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2186 | 2.85k | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | 2.85k | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | 2.85k | auto buf = make_contiguous_buffer(range); | 2191 | 2.85k | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | 2.85k | return ranges::next(range.begin(), | 2193 | 2.85k | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | | else { | 2196 | | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | | return read_until_code_point( | 2208 | | ranges::subrange{it, range.end()}, | 2209 | | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | | } | 2211 | 2.85k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2186 | 372 | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 372 | else { | 2196 | 372 | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | 372 | return read_until_code_point( | 2208 | 372 | ranges::subrange{it, range.end()}, | 2209 | 372 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 372 | } | 2211 | 372 | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2186 | 18.1k | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 18.1k | else { | 2196 | 18.1k | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | 18.1k | return read_until_code_point( | 2208 | 18.1k | ranges::subrange{it, range.end()}, | 2209 | 18.1k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 18.1k | } | 2211 | 18.1k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ |
2212 | | |
2213 | | template <typename Range> |
2214 | | auto read_while_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2215 | 186k | { |
2216 | | if constexpr (ranges::contiguous_range<Range> && |
2217 | | ranges::sized_range<Range> && |
2218 | 21.5k | std::is_same_v<detail::char_t<Range>, char>) { |
2219 | 21.5k | auto buf = make_contiguous_buffer(range); |
2220 | 21.5k | auto it = find_classic_nonspace_narrow_fast(buf.view()); |
2221 | 21.5k | return ranges::next(range.begin(), |
2222 | 21.5k | ranges::distance(buf.view().begin(), it)); |
2223 | | } |
2224 | 164k | else { |
2225 | 164k | auto it = range.begin(); |
2226 | | |
2227 | 164k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2228 | 2.81k | auto seg = get_contiguous_beginning(range); |
2229 | 2.81k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); |
2230 | 2.81k | seg_it != seg.end()) { |
2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2232 | 0 | } |
2233 | 2.81k | ranges::advance(it, seg.size()); |
2234 | 2.81k | } |
2235 | | |
2236 | 201k | return read_while_code_point(range, [](char32_t cp) noexcept { |
2237 | 201k | return detail::is_cp_space(cp); |
2238 | 201k | }); Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2236 | 1.47k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 1.47k | return detail::is_cp_space(cp); | 2238 | 1.47k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2236 | 39.6k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 39.6k | return detail::is_cp_space(cp); | 2238 | 39.6k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2236 | 536 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 536 | return detail::is_cp_space(cp); | 2238 | 536 | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2236 | 155k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 155k | return detail::is_cp_space(cp); | 2238 | 155k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2236 | 3.45k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 3.45k | return detail::is_cp_space(cp); | 2238 | 3.45k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2236 | 1.02k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 1.02k | return detail::is_cp_space(cp); | 2238 | 1.02k | }); |
|
2239 | 164k | } |
2240 | 186k | } Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2215 | 534 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 534 | else { | 2225 | 534 | auto it = range.begin(); | 2226 | | | 2227 | 534 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | 534 | auto seg = get_contiguous_beginning(range); | 2229 | 534 | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | 534 | seg_it != seg.end()) { | 2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | 0 | } | 2233 | 534 | ranges::advance(it, seg.size()); | 2234 | 534 | } | 2235 | | | 2236 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 534 | return detail::is_cp_space(cp); | 2238 | 534 | }); | 2239 | 534 | } | 2240 | 534 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2215 | 14.2k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | 14.2k | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | 14.2k | auto buf = make_contiguous_buffer(range); | 2220 | 14.2k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | 14.2k | return ranges::next(range.begin(), | 2222 | 14.2k | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | | else { | 2225 | | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | | return detail::is_cp_space(cp); | 2238 | | }); | 2239 | | } | 2240 | 14.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2215 | 56.1k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 56.1k | else { | 2225 | 56.1k | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 56.1k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 56.1k | return detail::is_cp_space(cp); | 2238 | 56.1k | }); | 2239 | 56.1k | } | 2240 | 56.1k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2215 | 372 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 372 | else { | 2225 | 372 | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 372 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 372 | return detail::is_cp_space(cp); | 2238 | 372 | }); | 2239 | 372 | } | 2240 | 372 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2215 | 104k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 104k | else { | 2225 | 104k | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 104k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 104k | return detail::is_cp_space(cp); | 2238 | 104k | }); | 2239 | 104k | } | 2240 | 104k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2215 | 7.31k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | 7.31k | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | 7.31k | auto buf = make_contiguous_buffer(range); | 2220 | 7.31k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | 7.31k | return ranges::next(range.begin(), | 2222 | 7.31k | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | | else { | 2225 | | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | | return detail::is_cp_space(cp); | 2238 | | }); | 2239 | | } | 2240 | 7.31k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2215 | 2.28k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 2.28k | else { | 2225 | 2.28k | auto it = range.begin(); | 2226 | | | 2227 | 2.28k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | 2.28k | auto seg = get_contiguous_beginning(range); | 2229 | 2.28k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | 2.28k | seg_it != seg.end()) { | 2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | 0 | } | 2233 | 2.28k | ranges::advance(it, seg.size()); | 2234 | 2.28k | } | 2235 | | | 2236 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 2.28k | return detail::is_cp_space(cp); | 2238 | 2.28k | }); | 2239 | 2.28k | } | 2240 | 2.28k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2215 | 980 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 980 | else { | 2225 | 980 | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 980 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 980 | return detail::is_cp_space(cp); | 2238 | 980 | }); | 2239 | 980 | } | 2240 | 980 | } |
|
2241 | | |
2242 | | template <typename Range> |
2243 | | auto read_matching_code_unit(Range range, detail::char_t<Range> ch) |
2244 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2245 | 15.1k | { |
2246 | 15.1k | auto it = read_code_unit(range); |
2247 | 15.1k | if (SCN_UNLIKELY(!it)) { |
2248 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2249 | 0 | } |
2250 | | |
2251 | 15.1k | if (SCN_UNLIKELY(*range.begin() != |
2252 | 15.1k | static_cast<detail::char_t<Range>>(ch))) { |
2253 | 15.1k | return unexpected(parse_error::error); |
2254 | 15.1k | } |
2255 | | |
2256 | 0 | return *it; |
2257 | 15.1k | } Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2245 | 40 | { | 2246 | 40 | auto it = read_code_unit(range); | 2247 | 40 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 40 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 40 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 40 | return unexpected(parse_error::error); | 2254 | 40 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 40 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2245 | 1.86k | { | 2246 | 1.86k | auto it = read_code_unit(range); | 2247 | 1.86k | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 1.86k | if (SCN_UNLIKELY(*range.begin() != | 2252 | 1.86k | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 1.86k | return unexpected(parse_error::error); | 2254 | 1.86k | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 1.86k | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2245 | 44 | { | 2246 | 44 | auto it = read_code_unit(range); | 2247 | 44 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 44 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 44 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 44 | return unexpected(parse_error::error); | 2254 | 44 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 44 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2245 | 12.1k | { | 2246 | 12.1k | auto it = read_code_unit(range); | 2247 | 12.1k | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 12.1k | if (SCN_UNLIKELY(*range.begin() != | 2252 | 12.1k | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 12.1k | return unexpected(parse_error::error); | 2254 | 12.1k | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 12.1k | } |
_ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2245 | 692 | { | 2246 | 692 | auto it = read_code_unit(range); | 2247 | 692 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 692 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 692 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 692 | return unexpected(parse_error::error); | 2254 | 692 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 692 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2245 | 316 | { | 2246 | 316 | auto it = read_code_unit(range); | 2247 | 316 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 316 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 316 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 316 | return unexpected(parse_error::error); | 2254 | 316 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 316 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE |
2258 | | |
2259 | | template <typename Range> |
2260 | | auto read_matching_code_point(Range range, char32_t cp) |
2261 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2262 | | { |
2263 | | auto val = read_code_point_into(range); |
2264 | | if (!val.is_valid()) { |
2265 | | return unexpected(parse_error::error); |
2266 | | } |
2267 | | auto decoded_cp = decode_code_point_exhaustive(val.codepoint); |
2268 | | if (SCN_UNLIKELY(cp != decoded_cp)) { |
2269 | | return unexpected(parse_error::error); |
2270 | | } |
2271 | | return val.iterator; |
2272 | | } |
2273 | | |
2274 | | template <typename Range> |
2275 | | auto read_matching_string(Range range, |
2276 | | std::basic_string_view<detail::char_t<Range>> str) |
2277 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2278 | 96 | { |
2279 | 96 | SCN_TRY(it, read_exactly_n_code_units( |
2280 | 64 | range, static_cast<std::ptrdiff_t>(str.size())) |
2281 | 64 | .transform_error(make_eof_parse_error)); |
2282 | | |
2283 | 64 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2284 | 64 | if (SCN_UNLIKELY(sv.view() != str)) { |
2285 | 64 | return unexpected(parse_error::error); |
2286 | 64 | } |
2287 | 0 | return it; |
2288 | 64 | } _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2278 | 32 | { | 2279 | 32 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 18 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 18 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 18 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 18 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 18 | return unexpected(parse_error::error); | 2286 | 18 | } | 2287 | 0 | return it; | 2288 | 18 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2278 | 20 | { | 2279 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 18 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 18 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 18 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 18 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 18 | return unexpected(parse_error::error); | 2286 | 18 | } | 2287 | 0 | return it; | 2288 | 18 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2278 | 20 | { | 2279 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 6 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 6 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 6 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 6 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 6 | return unexpected(parse_error::error); | 2286 | 6 | } | 2287 | 0 | return it; | 2288 | 6 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2278 | 24 | { | 2279 | 24 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 22 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 22 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 22 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 22 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 22 | return unexpected(parse_error::error); | 2286 | 22 | } | 2287 | 0 | return it; | 2288 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE |
2289 | | |
2290 | | template <typename Range> |
2291 | | auto read_matching_string_classic(Range range, std::string_view str) |
2292 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2293 | 15.2k | { |
2294 | 15.2k | SCN_TRY(it, read_exactly_n_code_units( |
2295 | 14.7k | range, static_cast<std::ptrdiff_t>(str.size())) |
2296 | 14.7k | .transform_error(make_eof_parse_error)); |
2297 | | |
2298 | 14.7k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2299 | 2.56k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2300 | 2.56k | if (SCN_UNLIKELY(sv.view() != str)) { |
2301 | 2.56k | return unexpected(parse_error::error); |
2302 | 2.56k | } |
2303 | 0 | return it; |
2304 | | } |
2305 | 12.1k | else { |
2306 | 12.1k | auto range_it = range.begin(); |
2307 | 12.1k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { |
2308 | 12.1k | if (SCN_UNLIKELY(*range_it != |
2309 | 12.1k | static_cast<detail::char_t<Range>>(str[i]))) { |
2310 | 12.1k | return unexpected(parse_error::error); |
2311 | 12.1k | } |
2312 | 12.1k | } |
2313 | 0 | return it; |
2314 | 12.1k | } |
2315 | 14.7k | } _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2293 | 2.02k | { | 2294 | 2.02k | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 1.91k | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 1.91k | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | 1.91k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | 1.91k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | 1.91k | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | 1.91k | return unexpected(parse_error::error); | 2302 | 1.91k | } | 2303 | 0 | return it; | 2304 | | } | 2305 | | else { | 2306 | | auto range_it = range.begin(); | 2307 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | | if (SCN_UNLIKELY(*range_it != | 2309 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | | return unexpected(parse_error::error); | 2311 | | } | 2312 | | } | 2313 | | return it; | 2314 | | } | 2315 | 1.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2293 | 804 | { | 2294 | 804 | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 646 | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 646 | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | 646 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | 646 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | 646 | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | 646 | return unexpected(parse_error::error); | 2302 | 646 | } | 2303 | 0 | return it; | 2304 | | } | 2305 | | else { | 2306 | | auto range_it = range.begin(); | 2307 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | | if (SCN_UNLIKELY(*range_it != | 2309 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | | return unexpected(parse_error::error); | 2311 | | } | 2312 | | } | 2313 | | return it; | 2314 | | } | 2315 | 646 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2293 | 12.1k | { | 2294 | 12.1k | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 12.0k | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 12.0k | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | | return unexpected(parse_error::error); | 2302 | | } | 2303 | | return it; | 2304 | | } | 2305 | 12.0k | else { | 2306 | 12.0k | auto range_it = range.begin(); | 2307 | 12.0k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | 12.0k | if (SCN_UNLIKELY(*range_it != | 2309 | 12.0k | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | 12.0k | return unexpected(parse_error::error); | 2311 | 12.0k | } | 2312 | 12.0k | } | 2313 | 0 | return it; | 2314 | 12.0k | } | 2315 | 12.0k | } |
_ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2293 | 276 | { | 2294 | 276 | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 196 | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 196 | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | | return unexpected(parse_error::error); | 2302 | | } | 2303 | | return it; | 2304 | | } | 2305 | 196 | else { | 2306 | 196 | auto range_it = range.begin(); | 2307 | 196 | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | 196 | if (SCN_UNLIKELY(*range_it != | 2309 | 196 | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | 196 | return unexpected(parse_error::error); | 2311 | 196 | } | 2312 | 196 | } | 2313 | 0 | return it; | 2314 | 196 | } | 2315 | 196 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE |
2316 | | |
2317 | | // Ripped from fast_float |
2318 | | constexpr bool fast_streq_nocase(const char* a, const char* b, size_t len) |
2319 | 3.68k | { |
2320 | 3.68k | unsigned char running_diff{0}; |
2321 | 12.8k | for (size_t i = 0; i < len; ++i) { |
2322 | 9.17k | running_diff |= static_cast<unsigned char>(a[i] ^ b[i]); |
2323 | 9.17k | } |
2324 | 3.68k | return running_diff == 0 || running_diff == 32; |
2325 | 3.68k | } |
2326 | | |
2327 | | template <typename Range> |
2328 | | auto read_matching_string_classic_nocase(Range range, std::string_view str) |
2329 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2330 | 30.1k | { |
2331 | 30.1k | using char_type = detail::char_t<Range>; |
2332 | | |
2333 | | if constexpr (ranges::contiguous_range<Range> && |
2334 | 3.68k | std::is_same_v<char_type, char>) { |
2335 | 3.68k | if (range.size() < str.size()) { |
2336 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); |
2337 | 8 | } |
2338 | 3.68k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { |
2339 | 3.68k | return unexpected(parse_error::error); |
2340 | 3.68k | } |
2341 | 0 | return ranges::next(range.begin(), str.size()); |
2342 | | } |
2343 | 26.4k | else { |
2344 | 26.4k | auto ascii_tolower = [](char_type ch) -> char_type { |
2345 | 26.0k | if (ch < 'A' || ch > 'Z') { |
2346 | 26.0k | return ch; |
2347 | 26.0k | } |
2348 | 0 | return static_cast<char_type>(ch + |
2349 | 0 | static_cast<char_type>('a' - 'A')); |
2350 | 26.0k | }; Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlcE_clEc _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlcE_clEc Line | Count | Source | 2344 | 1.21k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 1.21k | if (ch < 'A' || ch > 'Z') { | 2346 | 1.21k | return ch; | 2347 | 1.21k | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 1.21k | }; |
Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlwE_clEw _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2344 | 534 | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 534 | if (ch < 'A' || ch > 'Z') { | 2346 | 534 | return ch; | 2347 | 534 | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 534 | }; |
_ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2344 | 24.3k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 24.3k | if (ch < 'A' || ch > 'Z') { | 2346 | 24.3k | return ch; | 2347 | 24.3k | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 24.3k | }; |
|
2351 | | |
2352 | 26.4k | SCN_TRY(it, read_exactly_n_code_units( |
2353 | 26.0k | range, static_cast<std::ptrdiff_t>(str.size())) |
2354 | 26.0k | .transform_error(make_eof_parse_error)); |
2355 | | |
2356 | 26.0k | if (SCN_UNLIKELY(!std::equal( |
2357 | 26.0k | range.begin(), it, str.begin(), [&](auto a, auto b) { |
2358 | 26.0k | return ascii_tolower(a) == |
2359 | 26.0k | static_cast<detail::char_t<Range>>(b); |
2360 | 26.0k | }))) { |
2361 | 26.0k | return unexpected(parse_error::error); |
2362 | 26.0k | } |
2363 | | |
2364 | 0 | return it; |
2365 | 26.0k | } |
2366 | 30.1k | } Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2330 | 1.45k | { | 2331 | 1.45k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 1.45k | else { | 2344 | 1.45k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 1.45k | if (ch < 'A' || ch > 'Z') { | 2346 | 1.45k | return ch; | 2347 | 1.45k | } | 2348 | 1.45k | return static_cast<char_type>(ch + | 2349 | 1.45k | static_cast<char_type>('a' - 'A')); | 2350 | 1.45k | }; | 2351 | | | 2352 | 1.45k | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 1.21k | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 1.21k | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 1.21k | if (SCN_UNLIKELY(!std::equal( | 2357 | 1.21k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 1.21k | return ascii_tolower(a) == | 2359 | 1.21k | static_cast<detail::char_t<Range>>(b); | 2360 | 1.21k | }))) { | 2361 | 1.21k | return unexpected(parse_error::error); | 2362 | 1.21k | } | 2363 | | | 2364 | 0 | return it; | 2365 | 1.21k | } | 2366 | 1.45k | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2330 | 3.68k | { | 2331 | 3.68k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | 3.68k | std::is_same_v<char_type, char>) { | 2335 | 3.68k | if (range.size() < str.size()) { | 2336 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | 8 | } | 2338 | 3.68k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | 3.68k | return unexpected(parse_error::error); | 2340 | 3.68k | } | 2341 | 0 | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | | else { | 2344 | | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | | if (ch < 'A' || ch > 'Z') { | 2346 | | return ch; | 2347 | | } | 2348 | | return static_cast<char_type>(ch + | 2349 | | static_cast<char_type>('a' - 'A')); | 2350 | | }; | 2351 | | | 2352 | | SCN_TRY(it, read_exactly_n_code_units( | 2353 | | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | | if (SCN_UNLIKELY(!std::equal( | 2357 | | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | | return ascii_tolower(a) == | 2359 | | static_cast<detail::char_t<Range>>(b); | 2360 | | }))) { | 2361 | | return unexpected(parse_error::error); | 2362 | | } | 2363 | | | 2364 | | return it; | 2365 | | } | 2366 | 3.68k | } |
Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2330 | 646 | { | 2331 | 646 | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 646 | else { | 2344 | 646 | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 646 | if (ch < 'A' || ch > 'Z') { | 2346 | 646 | return ch; | 2347 | 646 | } | 2348 | 646 | return static_cast<char_type>(ch + | 2349 | 646 | static_cast<char_type>('a' - 'A')); | 2350 | 646 | }; | 2351 | | | 2352 | 646 | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 534 | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 534 | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 534 | if (SCN_UNLIKELY(!std::equal( | 2357 | 534 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 534 | return ascii_tolower(a) == | 2359 | 534 | static_cast<detail::char_t<Range>>(b); | 2360 | 534 | }))) { | 2361 | 534 | return unexpected(parse_error::error); | 2362 | 534 | } | 2363 | | | 2364 | 0 | return it; | 2365 | 534 | } | 2366 | 646 | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2330 | 24.3k | { | 2331 | 24.3k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 24.3k | else { | 2344 | 24.3k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 24.3k | if (ch < 'A' || ch > 'Z') { | 2346 | 24.3k | return ch; | 2347 | 24.3k | } | 2348 | 24.3k | return static_cast<char_type>(ch + | 2349 | 24.3k | static_cast<char_type>('a' - 'A')); | 2350 | 24.3k | }; | 2351 | | | 2352 | 24.3k | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 24.3k | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 24.3k | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 24.3k | if (SCN_UNLIKELY(!std::equal( | 2357 | 24.3k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 24.3k | return ascii_tolower(a) == | 2359 | 24.3k | static_cast<detail::char_t<Range>>(b); | 2360 | 24.3k | }))) { | 2361 | 24.3k | return unexpected(parse_error::error); | 2362 | 24.3k | } | 2363 | | | 2364 | 0 | return it; | 2365 | 24.3k | } | 2366 | 24.3k | } |
|
2367 | | |
2368 | | template <typename Range> |
2369 | | auto read_one_of_code_unit(Range range, std::string_view str) |
2370 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2371 | 29.8k | { |
2372 | 29.8k | auto it = read_code_unit(range); |
2373 | 29.8k | if (SCN_UNLIKELY(!it)) { |
2374 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2375 | 0 | } |
2376 | | |
2377 | 59.7k | for (auto ch : str) { |
2378 | 59.7k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { |
2379 | 0 | return *it; |
2380 | 0 | } |
2381 | 59.7k | } |
2382 | | |
2383 | 29.8k | return unexpected(parse_error::error); |
2384 | 29.8k | } Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2371 | 1.37k | { | 2372 | 1.37k | auto it = read_code_unit(range); | 2373 | 1.37k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 2.75k | for (auto ch : str) { | 2378 | 2.75k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 2.75k | } | 2382 | | | 2383 | 1.37k | return unexpected(parse_error::error); | 2384 | 1.37k | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2371 | 3.63k | { | 2372 | 3.63k | auto it = read_code_unit(range); | 2373 | 3.63k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 7.27k | for (auto ch : str) { | 2378 | 7.27k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 7.27k | } | 2382 | | | 2383 | 3.63k | return unexpected(parse_error::error); | 2384 | 3.63k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2371 | 602 | { | 2372 | 602 | auto it = read_code_unit(range); | 2373 | 602 | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 1.20k | for (auto ch : str) { | 2378 | 1.20k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 1.20k | } | 2382 | | | 2383 | 602 | return unexpected(parse_error::error); | 2384 | 602 | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2371 | 24.2k | { | 2372 | 24.2k | auto it = read_code_unit(range); | 2373 | 24.2k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 48.5k | for (auto ch : str) { | 2378 | 48.5k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 48.5k | } | 2382 | | | 2383 | 24.2k | return unexpected(parse_error::error); | 2384 | 24.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE |
2385 | | |
2386 | | template <typename Range, template <class> class Expected, typename Iterator> |
2387 | | auto apply_opt(Expected<Iterator>&& result, Range range) |
2388 | | -> std::enable_if_t<detail::is_expected<Expected<Iterator>>::value, |
2389 | | ranges::const_iterator_t<Range>> |
2390 | 7.53k | { |
2391 | 7.53k | if (!result) { |
2392 | 7.53k | return range.begin(); |
2393 | 7.53k | } |
2394 | 0 | return *result; |
2395 | 7.53k | } Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2390 | 350 | { | 2391 | 350 | if (!result) { | 2392 | 350 | return range.begin(); | 2393 | 350 | } | 2394 | 0 | return *result; | 2395 | 350 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2390 | 926 | { | 2391 | 926 | if (!result) { | 2392 | 926 | return range.begin(); | 2393 | 926 | } | 2394 | 0 | return *result; | 2395 | 926 | } |
Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2390 | 162 | { | 2391 | 162 | if (!result) { | 2392 | 162 | return range.begin(); | 2393 | 162 | } | 2394 | 0 | return *result; | 2395 | 162 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2390 | 6.10k | { | 2391 | 6.10k | if (!result) { | 2392 | 6.10k | return range.begin(); | 2393 | 6.10k | } | 2394 | 0 | return *result; | 2395 | 6.10k | } |
|
2396 | | |
2397 | | ///////////////////////////////////////////////////////////////// |
2398 | | // Text width calculation |
2399 | | ///////////////////////////////////////////////////////////////// |
2400 | | |
2401 | | constexpr std::size_t calculate_text_width_for_fmt_v10(char32_t cp) |
2402 | 148k | { |
2403 | 148k | if (cp >= 0x1100 && |
2404 | 148k | (cp <= 0x115f || // Hangul Jamo init. consonants |
2405 | 32.9k | cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET |
2406 | 32.9k | cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET |
2407 | | // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: |
2408 | 32.9k | (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || |
2409 | 32.9k | (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables |
2410 | 32.9k | (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs |
2411 | 32.9k | (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms |
2412 | 32.9k | (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms |
2413 | 32.9k | (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms |
2414 | 32.9k | (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms |
2415 | 32.9k | (cp >= 0x20000 && cp <= 0x2fffd) || // CJK |
2416 | 32.9k | (cp >= 0x30000 && cp <= 0x3fffd) || |
2417 | | // Miscellaneous Symbols and Pictographs + Emoticons: |
2418 | 32.9k | (cp >= 0x1f300 && cp <= 0x1f64f) || |
2419 | | // Supplemental Symbols and Pictographs: |
2420 | 32.9k | (cp >= 0x1f900 && cp <= 0x1f9ff))) { |
2421 | 3.63k | return 2; |
2422 | 3.63k | } |
2423 | 145k | return 1; |
2424 | 148k | } |
2425 | | |
2426 | | constexpr std::size_t calculate_valid_text_width(char32_t cp) |
2427 | 93.9k | { |
2428 | 93.9k | return calculate_text_width_for_fmt_v10(cp); |
2429 | 93.9k | } |
2430 | | |
2431 | | template <typename CharT> |
2432 | | std::size_t calculate_valid_text_width(std::basic_string_view<CharT> input) |
2433 | | { |
2434 | | size_t count{0}; |
2435 | | for_each_code_point_valid(input, [&count](char32_t cp) { |
2436 | | count += calculate_text_width_for_fmt_v10(cp); |
2437 | | }); |
2438 | | return count; |
2439 | | } |
2440 | | |
2441 | | constexpr std::size_t calculate_text_width(char32_t cp) |
2442 | 184 | { |
2443 | 184 | return calculate_text_width_for_fmt_v10(cp); |
2444 | 184 | } |
2445 | | |
2446 | | template <typename CharT> |
2447 | | std::size_t calculate_text_width(std::basic_string_view<CharT> input) |
2448 | 38.6k | { |
2449 | 38.6k | size_t count{0}; |
2450 | 54.7k | for_each_code_point(input, [&count](char32_t cp) { |
2451 | 54.7k | count += calculate_text_width_for_fmt_v10(cp); |
2452 | 54.7k | }); scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2450 | 47.2k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 47.2k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 47.2k | }); |
scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2450 | 7.46k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 7.46k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 7.46k | }); |
|
2453 | 38.6k | return count; |
2454 | 38.6k | } unsigned long scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 2448 | 35.5k | { | 2449 | 35.5k | size_t count{0}; | 2450 | 35.5k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 35.5k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 35.5k | }); | 2453 | 35.5k | return count; | 2454 | 35.5k | } |
unsigned long scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 2448 | 3.11k | { | 2449 | 3.11k | size_t count{0}; | 2450 | 3.11k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 3.11k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 3.11k | }); | 2453 | 3.11k | return count; | 2454 | 3.11k | } |
|
2455 | | |
2456 | | namespace counted_width_iterator_impl { |
2457 | | template <typename It, typename S> |
2458 | | class counted_width_iterator { |
2459 | | static_assert(ranges::forward_iterator<It>); |
2460 | | static_assert(ranges::sentinel_for<S, It>); |
2461 | | |
2462 | | template <typename OtherIt, typename OtherS> |
2463 | | friend class counted_width_iterator; |
2464 | | |
2465 | | public: |
2466 | | using iterator = It; |
2467 | | using sentinel = S; |
2468 | | using value_type = ranges::iter_value_t<It>; |
2469 | | using pointer = value_type*; |
2470 | | using reference = value_type&; |
2471 | | using difference_type = ranges::iter_difference_t<It>; |
2472 | | using iterator_category = |
2473 | | std::conditional_t<ranges::bidirectional_iterator<It>, |
2474 | | std::bidirectional_iterator_tag, |
2475 | | std::forward_iterator_tag>; |
2476 | | |
2477 | | constexpr counted_width_iterator() = default; |
2478 | | |
2479 | | constexpr counted_width_iterator(iterator x, sentinel s, difference_type n) |
2480 | 43.7k | : m_current(x), m_end(s), m_count(n) |
2481 | 43.7k | { |
2482 | 43.7k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, long) scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, long) Line | Count | Source | 2480 | 5.65k | : m_current(x), m_end(s), m_count(n) | 2481 | 5.65k | { | 2482 | 5.65k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, long) Line | Count | Source | 2480 | 2.20k | : m_current(x), m_end(s), m_count(n) | 2481 | 2.20k | { | 2482 | 2.20k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::counted_width_iterator(char const*, char const*, long) Line | Count | Source | 2480 | 25.2k | : m_current(x), m_end(s), m_count(n) | 2481 | 25.2k | { | 2482 | 25.2k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::counted_width_iterator(wchar_t const*, wchar_t const*, long) Line | Count | Source | 2480 | 10.7k | : m_current(x), m_end(s), m_count(n) | 2481 | 10.7k | { | 2482 | 10.7k | } |
|
2483 | | |
2484 | | template <typename OtherIt, |
2485 | | typename OtherS, |
2486 | | std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2487 | | std::is_convertible_v<OtherS, S>>* = nullptr> |
2488 | | constexpr counted_width_iterator( |
2489 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2490 | | : m_current(other.m_current), |
2491 | | m_end(other.m_end), |
2492 | | m_count(other.m_count), |
2493 | | m_multibyte_left(other.m_multibyte_left) |
2494 | | { |
2495 | | } |
2496 | | |
2497 | | template <typename OtherIt, typename OtherS> |
2498 | | constexpr auto operator=( |
2499 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2500 | | -> std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2501 | | std::is_convertible_v<OtherS, S>, |
2502 | | counted_width_iterator&> |
2503 | | { |
2504 | | m_current = other.m_current; |
2505 | | m_end = other.m_end; |
2506 | | m_count = other.m_count; |
2507 | | m_multibyte_left = other.m_multibyte_left; |
2508 | | return *this; |
2509 | | } |
2510 | | |
2511 | | constexpr It base() const |
2512 | 212k | { |
2513 | 212k | return m_current; |
2514 | 212k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::base() const Line | Count | Source | 2512 | 147k | { | 2513 | 147k | return m_current; | 2514 | 147k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::base() const Line | Count | Source | 2512 | 41.8k | { | 2513 | 41.8k | return m_current; | 2514 | 41.8k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::base() const Line | Count | Source | 2512 | 17.9k | { | 2513 | 17.9k | return m_current; | 2514 | 17.9k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::base() const Line | Count | Source | 2512 | 4.55k | { | 2513 | 4.55k | return m_current; | 2514 | 4.55k | } |
|
2515 | | constexpr difference_type count() const |
2516 | 411k | { |
2517 | 411k | return m_count; |
2518 | 411k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::count() const Line | Count | Source | 2516 | 288k | { | 2517 | 288k | return m_count; | 2518 | 288k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::count() const Line | Count | Source | 2516 | 79.7k | { | 2517 | 79.7k | return m_count; | 2518 | 79.7k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::count() const Line | Count | Source | 2516 | 34.7k | { | 2517 | 34.7k | return m_count; | 2518 | 34.7k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::count() const Line | Count | Source | 2516 | 8.29k | { | 2517 | 8.29k | return m_count; | 2518 | 8.29k | } |
|
2519 | | constexpr difference_type multibyte_left() const |
2520 | 37.9k | { |
2521 | 37.9k | return m_multibyte_left; |
2522 | 37.9k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::multibyte_left() const Line | Count | Source | 2520 | 31.8k | { | 2521 | 31.8k | return m_multibyte_left; | 2522 | 31.8k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::multibyte_left() const Line | Count | Source | 2520 | 2.46k | { | 2521 | 2.46k | return m_multibyte_left; | 2522 | 2.46k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2520 | 3.23k | { | 2521 | 3.23k | return m_multibyte_left; | 2522 | 3.23k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2520 | 378 | { | 2521 | 378 | return m_multibyte_left; | 2522 | 378 | } |
|
2523 | | |
2524 | | bool is_current_double_wide() const |
2525 | 12.0k | { |
2526 | 12.0k | assert(count() != 0 || multibyte_left() != 0); |
2527 | 12.0k | return _get_width_at_current_cp_start( |
2528 | 12.0k | _get_cp_length_at_current()) == 2; |
2529 | 12.0k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::is_current_double_wide() const Line | Count | Source | 2525 | 8.34k | { | 2526 | 8.34k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 8.34k | return _get_width_at_current_cp_start( | 2528 | 8.34k | _get_cp_length_at_current()) == 2; | 2529 | 8.34k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::is_current_double_wide() const Line | Count | Source | 2525 | 1.98k | { | 2526 | 1.98k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 1.98k | return _get_width_at_current_cp_start( | 2528 | 1.98k | _get_cp_length_at_current()) == 2; | 2529 | 1.98k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2525 | 1.46k | { | 2526 | 1.46k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 1.46k | return _get_width_at_current_cp_start( | 2528 | 1.46k | _get_cp_length_at_current()) == 2; | 2529 | 1.46k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2525 | 296 | { | 2526 | 296 | assert(count() != 0 || multibyte_left() != 0); | 2527 | 296 | return _get_width_at_current_cp_start( | 2528 | 296 | _get_cp_length_at_current()) == 2; | 2529 | 296 | } |
|
2530 | | |
2531 | | constexpr decltype(auto) operator*() |
2532 | 187k | { |
2533 | 187k | return *m_current; |
2534 | 187k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() Line | Count | Source | 2532 | 134k | { | 2533 | 134k | return *m_current; | 2534 | 134k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() Line | Count | Source | 2532 | 41.1k | { | 2533 | 41.1k | return *m_current; | 2534 | 41.1k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator*() Line | Count | Source | 2532 | 9.99k | { | 2533 | 9.99k | return *m_current; | 2534 | 9.99k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator*() Line | Count | Source | 2532 | 2.40k | { | 2533 | 2.40k | return *m_current; | 2534 | 2.40k | } |
|
2535 | | constexpr decltype(auto) operator*() const |
2536 | 16.0k | { |
2537 | 16.0k | return *m_current; |
2538 | 16.0k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() const Line | Count | Source | 2536 | 13.0k | { | 2537 | 13.0k | return *m_current; | 2538 | 13.0k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() const Line | Count | Source | 2536 | 2.92k | { | 2537 | 2.92k | return *m_current; | 2538 | 2.92k | } |
|
2539 | | |
2540 | | constexpr counted_width_iterator& operator++() |
2541 | 194k | { |
2542 | 194k | SCN_EXPECT(m_current != m_end); |
2543 | 194k | _increment_current(); |
2544 | 194k | return *this; |
2545 | 194k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator++() Line | Count | Source | 2541 | 151k | { | 2542 | 151k | SCN_EXPECT(m_current != m_end); | 2543 | 151k | _increment_current(); | 2544 | 151k | return *this; | 2545 | 151k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator++() Line | Count | Source | 2541 | 29.2k | { | 2542 | 29.2k | SCN_EXPECT(m_current != m_end); | 2543 | 29.2k | _increment_current(); | 2544 | 29.2k | return *this; | 2545 | 29.2k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator++() Line | Count | Source | 2541 | 12.3k | { | 2542 | 12.3k | SCN_EXPECT(m_current != m_end); | 2543 | 12.3k | _increment_current(); | 2544 | 12.3k | return *this; | 2545 | 12.3k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator++() Line | Count | Source | 2541 | 1.16k | { | 2542 | 1.16k | SCN_EXPECT(m_current != m_end); | 2543 | 1.16k | _increment_current(); | 2544 | 1.16k | return *this; | 2545 | 1.16k | } |
|
2546 | | |
2547 | | constexpr counted_width_iterator operator++(int) |
2548 | | { |
2549 | | auto tmp = *this; |
2550 | | ++*this; |
2551 | | return tmp; |
2552 | | } |
2553 | | |
2554 | | template <typename Iter = It> |
2555 | | constexpr auto operator--() |
2556 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2557 | | counted_width_iterator&> |
2558 | 0 | { |
2559 | 0 | _decrement_current(); |
2560 | 0 | return *this; |
2561 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKcS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKwS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv |
2562 | | |
2563 | | template <typename Iter = It> |
2564 | | constexpr auto operator--(int) |
2565 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2566 | | counted_width_iterator> |
2567 | | { |
2568 | | auto tmp = *this; |
2569 | | --*this; |
2570 | | return tmp; |
2571 | | } |
2572 | | |
2573 | | // TODO: optimize, make better than forward, if possible |
2574 | | #if 0 |
2575 | | template <typename Iter = It> |
2576 | | constexpr auto operator+(difference_type n) -> std::enable_if_t< |
2577 | | ranges_std::random_access_iterator<Iter>, |
2578 | | counted_width_iterator> |
2579 | | { |
2580 | | // TODO |
2581 | | return counted_width_iterator(m_current + n, m_count - n); |
2582 | | } |
2583 | | |
2584 | | template <typename Iter = It, |
2585 | | std::enable_if_t<ranges_std::random_access_iterator< |
2586 | | Iter>>* = nullptr> |
2587 | | friend constexpr counted_width_iterator operator+( |
2588 | | ranges_std::iter_difference_t<Iter> n, |
2589 | | const counted_width_iterator<Iter>& x) |
2590 | | { |
2591 | | return x + n; |
2592 | | } |
2593 | | |
2594 | | template <typename Iter = It> |
2595 | | constexpr auto operator+=(difference_type n) |
2596 | | -> std::enable_if_t< |
2597 | | ranges_std::random_access_iterator<Iter>, |
2598 | | counted_width_iterator&> |
2599 | | { |
2600 | | // TODO |
2601 | | m_current += n; |
2602 | | m_count -= n; |
2603 | | return *this; |
2604 | | } |
2605 | | |
2606 | | template <typename Iter = It> |
2607 | | constexpr auto operator-(difference_type n) -> std::enable_if_t< |
2608 | | ranges_std::random_access_iterator<Iter>, |
2609 | | counted_width_iterator> |
2610 | | { |
2611 | | // TODO |
2612 | | return counted_width_iterator(m_current - n, m_count + n); |
2613 | | } |
2614 | | |
2615 | | template <typename Iter = It, |
2616 | | std::enable_if_t<ranges_std::random_access_iterator< |
2617 | | Iter>>* = nullptr> |
2618 | | constexpr decltype(auto) operator[](difference_type n) const |
2619 | | { |
2620 | | return m_current[n]; |
2621 | | } |
2622 | | #endif |
2623 | | |
2624 | | template <typename OtherIt, typename OtherS> |
2625 | | friend constexpr auto operator==( |
2626 | | const counted_width_iterator& a, |
2627 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2628 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2629 | 117k | { |
2630 | 117k | return a.m_current == b.m_current; |
2631 | 117k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 98.2k | { | 2630 | 98.2k | return a.m_current == b.m_current; | 2631 | 98.2k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 11.5k | { | 2630 | 11.5k | return a.m_current == b.m_current; | 2631 | 11.5k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 7.45k | { | 2630 | 7.45k | return a.m_current == b.m_current; | 2631 | 7.45k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2632 | | template <typename OtherIt, typename OtherS> |
2633 | | friend constexpr auto operator!=( |
2634 | | const counted_width_iterator& a, |
2635 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2636 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2637 | 106k | { |
2638 | 106k | return !(a == b); |
2639 | 106k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 88.6k | { | 2638 | 88.6k | return !(a == b); | 2639 | 88.6k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 10.5k | { | 2638 | 10.5k | return !(a == b); | 2639 | 10.5k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 7.45k | { | 2638 | 7.45k | return !(a == b); | 2639 | 7.45k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2640 | | |
2641 | | friend constexpr bool operator==(const counted_width_iterator& x, |
2642 | | ranges::default_sentinel_t) |
2643 | | { |
2644 | | return (x.count() == 0 && x.multibyte_left() == 0) || |
2645 | | (x.count() == 1 && x.multibyte_left() == 0 && |
2646 | | x.is_current_double_wide()); |
2647 | | } |
2648 | | friend constexpr bool operator==(ranges::default_sentinel_t s, |
2649 | | const counted_width_iterator& x) |
2650 | | { |
2651 | | return x == s; |
2652 | | } |
2653 | | |
2654 | | friend constexpr bool operator!=(const counted_width_iterator& a, |
2655 | | ranges::default_sentinel_t b) |
2656 | | { |
2657 | | return !(a == b); |
2658 | | } |
2659 | | friend constexpr bool operator!=(ranges::default_sentinel_t a, |
2660 | | const counted_width_iterator& b) |
2661 | | { |
2662 | | return !(a == b); |
2663 | | } |
2664 | | |
2665 | | template <typename OtherIt, typename OtherS> |
2666 | | friend constexpr auto operator<( |
2667 | | const counted_width_iterator& a, |
2668 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2669 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2670 | | { |
2671 | | if (a.count() == b.count()) { |
2672 | | return a.multibyte_left() > b.multibyte_left(); |
2673 | | } |
2674 | | |
2675 | | return a.count() > b.count(); |
2676 | | } |
2677 | | |
2678 | | template <typename OtherIt, typename OtherS> |
2679 | | friend constexpr auto operator>( |
2680 | | const counted_width_iterator& a, |
2681 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2682 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2683 | | { |
2684 | | return !(b < a); |
2685 | | } |
2686 | | |
2687 | | template <typename OtherIt, typename OtherS> |
2688 | | friend constexpr auto operator<=( |
2689 | | const counted_width_iterator& a, |
2690 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2691 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2692 | | { |
2693 | | return !(b < a); |
2694 | | } |
2695 | | |
2696 | | template <typename OtherIt, typename OtherS> |
2697 | | friend constexpr auto operator>=( |
2698 | | const counted_width_iterator& a, |
2699 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2700 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2701 | | { |
2702 | | return !(a < b); |
2703 | | } |
2704 | | |
2705 | | #if 0 |
2706 | | template <typename OtherIt, typename OtherS> |
2707 | | friend constexpr auto operator-( |
2708 | | const counted_width_iterator& a, |
2709 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2710 | | -> std::enable_if_t<ranges_std::common_with<OtherIt, It>, |
2711 | | ranges_std::iter_difference_t<OtherIt>> |
2712 | | { |
2713 | | // TODO |
2714 | | } |
2715 | | |
2716 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2717 | | const counted_width_iterator& x, |
2718 | | ranges_std::default_sentinel_t) |
2719 | | { |
2720 | | // TODO |
2721 | | } |
2722 | | |
2723 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2724 | | ranges_std::default_sentinel_t, |
2725 | | const counted_width_iterator& x) |
2726 | | { |
2727 | | // TODO |
2728 | | } |
2729 | | #endif |
2730 | | |
2731 | | #if 0 |
2732 | | template <typename Iter = It> |
2733 | | constexpr auto operator-=(difference_type n) |
2734 | | -> std::enable_if_t< |
2735 | | ranges_std::random_access_iterator<Iter>, |
2736 | | counted_width_iterator&> |
2737 | | { |
2738 | | // TODO |
2739 | | m_current -= n; |
2740 | | m_count += n; |
2741 | | return *this; |
2742 | | } |
2743 | | #endif |
2744 | | |
2745 | | private: |
2746 | | difference_type _get_cp_length_at_current() const |
2747 | 129k | { |
2748 | 129k | return static_cast<difference_type>( |
2749 | 129k | detail::code_point_length_by_starting_code_unit(*m_current)); |
2750 | 129k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_cp_length_at_current() const Line | Count | Source | 2747 | 88.0k | { | 2748 | 88.0k | return static_cast<difference_type>( | 2749 | 88.0k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 88.0k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_cp_length_at_current() const Line | Count | Source | 2747 | 31.2k | { | 2748 | 31.2k | return static_cast<difference_type>( | 2749 | 31.2k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 31.2k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2747 | 8.52k | { | 2748 | 8.52k | return static_cast<difference_type>( | 2749 | 8.52k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 8.52k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2747 | 1.46k | { | 2748 | 1.46k | return static_cast<difference_type>( | 2749 | 1.46k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 1.46k | } |
|
2751 | | |
2752 | | difference_type _get_width_at_current_cp_start(difference_type cplen) const |
2753 | 129k | { |
2754 | 129k | if (SCN_UNLIKELY(cplen == 0)) { |
2755 | 1.57k | return 0; |
2756 | 1.57k | } |
2757 | | |
2758 | 127k | if (cplen == 1) { |
2759 | 93.9k | SCN_EXPECT(m_current != m_end); |
2760 | 93.9k | auto cp = static_cast<char32_t>(*m_current); |
2761 | 93.9k | return static_cast<difference_type>(calculate_valid_text_width(cp)); |
2762 | 93.9k | } |
2763 | | |
2764 | 33.8k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, |
2765 | 33.8k | cplen); |
2766 | 33.8k | if (SCN_UNLIKELY(!r)) { |
2767 | 440 | return 0; |
2768 | 440 | } |
2769 | | |
2770 | 33.3k | auto cp_str = std::basic_string<value_type>{m_current, *r}; |
2771 | 33.3k | return static_cast<difference_type>( |
2772 | 33.3k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); |
2773 | 33.8k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 88.0k | { | 2754 | 88.0k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 1.57k | return 0; | 2756 | 1.57k | } | 2757 | | | 2758 | 86.5k | if (cplen == 1) { | 2759 | 56.6k | SCN_EXPECT(m_current != m_end); | 2760 | 56.6k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 56.6k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 56.6k | } | 2763 | | | 2764 | 29.8k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 29.8k | cplen); | 2766 | 29.8k | if (SCN_UNLIKELY(!r)) { | 2767 | 440 | return 0; | 2768 | 440 | } | 2769 | | | 2770 | 29.4k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 29.4k | return static_cast<difference_type>( | 2772 | 29.4k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 29.8k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 31.2k | { | 2754 | 31.2k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 31.2k | if (cplen == 1) { | 2759 | 31.2k | SCN_EXPECT(m_current != m_end); | 2760 | 31.2k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 31.2k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 31.2k | } | 2763 | | | 2764 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 0 | cplen); | 2766 | 0 | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 0 | return static_cast<difference_type>( | 2772 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 0 | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 8.52k | { | 2754 | 8.52k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 8.52k | if (cplen == 1) { | 2759 | 4.57k | SCN_EXPECT(m_current != m_end); | 2760 | 4.57k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 4.57k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 4.57k | } | 2763 | | | 2764 | 3.95k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 3.95k | cplen); | 2766 | 3.95k | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 3.95k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 3.95k | return static_cast<difference_type>( | 2772 | 3.95k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 3.95k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 1.46k | { | 2754 | 1.46k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 1.46k | if (cplen == 1) { | 2759 | 1.46k | SCN_EXPECT(m_current != m_end); | 2760 | 1.46k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 1.46k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 1.46k | } | 2763 | | | 2764 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 0 | cplen); | 2766 | 0 | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 0 | return static_cast<difference_type>( | 2772 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 0 | } |
|
2774 | | |
2775 | | void _increment_current() |
2776 | 194k | { |
2777 | 194k | if (m_multibyte_left == 0) { |
2778 | 117k | auto cplen = _get_cp_length_at_current(); |
2779 | 117k | m_multibyte_left = cplen - 1; |
2780 | 117k | m_count -= _get_width_at_current_cp_start(cplen); |
2781 | 117k | } |
2782 | 77.2k | else { |
2783 | 77.2k | --m_multibyte_left; |
2784 | 77.2k | } |
2785 | | |
2786 | 194k | ++m_current; |
2787 | 194k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_increment_current() Line | Count | Source | 2776 | 151k | { | 2777 | 151k | if (m_multibyte_left == 0) { | 2778 | 79.7k | auto cplen = _get_cp_length_at_current(); | 2779 | 79.7k | m_multibyte_left = cplen - 1; | 2780 | 79.7k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 79.7k | } | 2782 | 71.9k | else { | 2783 | 71.9k | --m_multibyte_left; | 2784 | 71.9k | } | 2785 | | | 2786 | 151k | ++m_current; | 2787 | 151k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_increment_current() Line | Count | Source | 2776 | 29.2k | { | 2777 | 29.2k | if (m_multibyte_left == 0) { | 2778 | 29.2k | auto cplen = _get_cp_length_at_current(); | 2779 | 29.2k | m_multibyte_left = cplen - 1; | 2780 | 29.2k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 29.2k | } | 2782 | 0 | else { | 2783 | 0 | --m_multibyte_left; | 2784 | 0 | } | 2785 | | | 2786 | 29.2k | ++m_current; | 2787 | 29.2k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2776 | 12.3k | { | 2777 | 12.3k | if (m_multibyte_left == 0) { | 2778 | 7.06k | auto cplen = _get_cp_length_at_current(); | 2779 | 7.06k | m_multibyte_left = cplen - 1; | 2780 | 7.06k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 7.06k | } | 2782 | 5.32k | else { | 2783 | 5.32k | --m_multibyte_left; | 2784 | 5.32k | } | 2785 | | | 2786 | 12.3k | ++m_current; | 2787 | 12.3k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2776 | 1.16k | { | 2777 | 1.16k | if (m_multibyte_left == 0) { | 2778 | 1.16k | auto cplen = _get_cp_length_at_current(); | 2779 | 1.16k | m_multibyte_left = cplen - 1; | 2780 | 1.16k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 1.16k | } | 2782 | 0 | else { | 2783 | 0 | --m_multibyte_left; | 2784 | 0 | } | 2785 | | | 2786 | 1.16k | ++m_current; | 2787 | 1.16k | } |
|
2788 | | |
2789 | | void _decrement_current() |
2790 | 0 | { |
2791 | 0 | --m_current; |
2792 | |
|
2793 | 0 | auto cplen = _get_cp_length_at_current(); |
2794 | 0 | if (cplen == 0) { |
2795 | 0 | ++m_multibyte_left; |
2796 | 0 | } |
2797 | 0 | else { |
2798 | 0 | m_count += _get_width_at_current_cp_start(cplen); |
2799 | 0 | m_multibyte_left = cplen - 1; |
2800 | 0 | } |
2801 | 0 | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_decrement_current() |
2802 | | |
2803 | | It m_current{}; |
2804 | | S m_end{}; |
2805 | | difference_type m_count{0}; |
2806 | | difference_type m_multibyte_left{0}; |
2807 | | }; |
2808 | | |
2809 | | template <typename I, typename S> |
2810 | | counted_width_iterator(I, S, ranges::iter_difference_t<I>) |
2811 | | -> counted_width_iterator<I, S>; |
2812 | | } // namespace counted_width_iterator_impl |
2813 | | |
2814 | | using counted_width_iterator_impl::counted_width_iterator; |
2815 | | |
2816 | | template <typename View, typename = void> |
2817 | | struct take_width_view_storage; |
2818 | | |
2819 | | template <typename View> |
2820 | | struct take_width_view_storage<View, |
2821 | | std::enable_if_t<ranges::borrowed_range<View>>> { |
2822 | 19.1k | take_width_view_storage(const View& v) : view(v) {}Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::take_width_view_storage(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&) Line | Count | Source | 2822 | 10.4k | take_width_view_storage(const View& v) : view(v) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::take_width_view_storage(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&) Line | Count | Source | 2822 | 4.14k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&) Line | Count | Source | 2822 | 3.36k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&) Line | Count | Source | 2822 | 1.22k | take_width_view_storage(const View& v) : view(v) {} |
|
2823 | | |
2824 | | const View& get() const |
2825 | 194k | { |
2826 | 194k | return view; |
2827 | 194k | } Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::get() const Line | Count | Source | 2825 | 120k | { | 2826 | 120k | return view; | 2827 | 120k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::get() const Line | Count | Source | 2825 | 43.1k | { | 2826 | 43.1k | return view; | 2827 | 43.1k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::get() const Line | Count | Source | 2825 | 22.9k | { | 2826 | 22.9k | return view; | 2827 | 22.9k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::get() const Line | Count | Source | 2825 | 7.84k | { | 2826 | 7.84k | return view; | 2827 | 7.84k | } |
|
2828 | | |
2829 | | View view; |
2830 | | }; |
2831 | | |
2832 | | template <typename View> |
2833 | | struct take_width_view_storage< |
2834 | | View, |
2835 | | std::enable_if_t<!ranges::borrowed_range<View>>> { |
2836 | | take_width_view_storage(const View& v) : view(&v) {} |
2837 | | |
2838 | | const View& get() const |
2839 | | { |
2840 | | return *view; |
2841 | | } |
2842 | | |
2843 | | const View* view; |
2844 | | }; |
2845 | | |
2846 | | template <typename View> |
2847 | | class take_width_view : public ranges::view_interface<take_width_view<View>> { |
2848 | | template <bool IsConst> |
2849 | | class sentinel { |
2850 | | friend class sentinel<!IsConst>; |
2851 | | using Base = std::conditional_t<IsConst, const View, View>; |
2852 | | using CWI = counted_width_iterator<ranges::iterator_t<Base>, |
2853 | | ranges::sentinel_t<Base>>; |
2854 | | using underlying = ranges::sentinel_t<Base>; |
2855 | | |
2856 | | public: |
2857 | | constexpr sentinel() = default; |
2858 | | |
2859 | 106k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {}Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 2859 | 11.6k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 2859 | 3.44k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>::sentinel(char const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>::sentinel(char const*) Line | Count | Source | 2859 | 70.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>::sentinel(wchar_t const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>::sentinel(wchar_t const*) Line | Count | Source | 2859 | 21.6k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
|
2860 | | |
2861 | | template < |
2862 | | typename S, |
2863 | | std::enable_if_t<std::is_same_v<S, sentinel<!IsConst>>>* = nullptr, |
2864 | | bool C = IsConst, |
2865 | | typename VV = View, |
2866 | | std::enable_if_t<C && std::is_convertible_v<ranges::sentinel_t<VV>, |
2867 | | underlying>>* = nullptr> |
2868 | | constexpr explicit sentinel(S s) : m_end(SCN_MOVE(s.m_end)) |
2869 | | { |
2870 | | } |
2871 | | |
2872 | | constexpr underlying base() const |
2873 | | { |
2874 | | return m_end; |
2875 | | } |
2876 | | |
2877 | | friend constexpr bool operator==(const CWI& y, const sentinel& x) |
2878 | 197k | { |
2879 | 197k | return (y.count() == 0 && y.multibyte_left() == 0) || |
2880 | 197k | y.base() == x.m_end || |
2881 | 197k | (y.count() == 1 && y.multibyte_left() == 0 && |
2882 | 193k | y.is_current_double_wide()); |
2883 | 197k | } Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2878 | 140k | { | 2879 | 140k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 140k | y.base() == x.m_end || | 2881 | 140k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 137k | y.is_current_double_wide()); | 2883 | 140k | } |
Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2878 | 38.6k | { | 2879 | 38.6k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 38.6k | y.base() == x.m_end || | 2881 | 38.6k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 37.8k | y.is_current_double_wide()); | 2883 | 38.6k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2878 | 15.4k | { | 2879 | 15.4k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 15.4k | y.base() == x.m_end || | 2881 | 15.4k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 14.7k | y.is_current_double_wide()); | 2883 | 15.4k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2878 | 3.44k | { | 2879 | 3.44k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 3.44k | y.base() == x.m_end || | 2881 | 3.44k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 3.36k | y.is_current_double_wide()); | 2883 | 3.44k | } |
|
2884 | | |
2885 | | friend constexpr bool operator==(const sentinel& x, const CWI& y) |
2886 | | { |
2887 | | return y == x; |
2888 | | } |
2889 | | |
2890 | | friend constexpr bool operator!=(const CWI& y, const sentinel& x) |
2891 | 100k | { |
2892 | 100k | return !(y == x); |
2893 | 100k | } Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2891 | 72.2k | { | 2892 | 72.2k | return !(y == x); | 2893 | 72.2k | } |
Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2891 | 19.0k | { | 2892 | 19.0k | return !(y == x); | 2893 | 19.0k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2891 | 7.49k | { | 2892 | 7.49k | return !(y == x); | 2893 | 7.49k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2891 | 1.43k | { | 2892 | 1.43k | return !(y == x); | 2893 | 1.43k | } |
|
2894 | | |
2895 | | friend constexpr bool operator!=(const sentinel& x, const CWI& y) |
2896 | | { |
2897 | | return !(y == x); |
2898 | | } |
2899 | | |
2900 | | private: |
2901 | | SCN_NO_UNIQUE_ADDRESS underlying m_end{}; |
2902 | | }; |
2903 | | |
2904 | | public: |
2905 | | using value_type = ranges::range_value_t<View>; |
2906 | | |
2907 | | take_width_view() = default; |
2908 | | |
2909 | | constexpr take_width_view(const View& base, std::ptrdiff_t count) |
2910 | 19.1k | : m_base(base), m_count(count) |
2911 | 19.1k | { |
2912 | 19.1k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::take_width_view(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) Line | Count | Source | 2910 | 10.4k | : m_base(base), m_count(count) | 2911 | 10.4k | { | 2912 | 10.4k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::take_width_view(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) Line | Count | Source | 2910 | 4.14k | : m_base(base), m_count(count) | 2911 | 4.14k | { | 2912 | 4.14k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) Line | Count | Source | 2910 | 3.36k | : m_base(base), m_count(count) | 2911 | 3.36k | { | 2912 | 3.36k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) Line | Count | Source | 2910 | 1.22k | : m_base(base), m_count(count) | 2911 | 1.22k | { | 2912 | 1.22k | } |
|
2913 | | |
2914 | | constexpr View base() const |
2915 | | { |
2916 | | return m_base; |
2917 | | } |
2918 | | |
2919 | | constexpr auto begin() const |
2920 | 43.7k | { |
2921 | 43.7k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), |
2922 | 43.7k | m_count}; |
2923 | 43.7k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::begin() const Line | Count | Source | 2920 | 25.2k | { | 2921 | 25.2k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 25.2k | m_count}; | 2923 | 25.2k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::begin() const Line | Count | Source | 2920 | 10.7k | { | 2921 | 10.7k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 10.7k | m_count}; | 2923 | 10.7k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::begin() const Line | Count | Source | 2920 | 5.65k | { | 2921 | 5.65k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 5.65k | m_count}; | 2923 | 5.65k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::begin() const Line | Count | Source | 2920 | 2.20k | { | 2921 | 2.20k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 2.20k | m_count}; | 2923 | 2.20k | } |
|
2924 | | |
2925 | | constexpr auto end() const |
2926 | 106k | { |
2927 | 106k | return sentinel<true>{m_base.get().end()}; |
2928 | 106k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::end() const Line | Count | Source | 2926 | 70.1k | { | 2927 | 70.1k | return sentinel<true>{m_base.get().end()}; | 2928 | 70.1k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::end() const Line | Count | Source | 2926 | 21.6k | { | 2927 | 21.6k | return sentinel<true>{m_base.get().end()}; | 2928 | 21.6k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::end() const Line | Count | Source | 2926 | 11.6k | { | 2927 | 11.6k | return sentinel<true>{m_base.get().end()}; | 2928 | 11.6k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::end() const Line | Count | Source | 2926 | 3.44k | { | 2927 | 3.44k | return sentinel<true>{m_base.get().end()}; | 2928 | 3.44k | } |
|
2929 | | |
2930 | | private: |
2931 | | take_width_view_storage<View> m_base{}; |
2932 | | std::ptrdiff_t m_count{0}; |
2933 | | }; |
2934 | | |
2935 | | template <typename R> |
2936 | | take_width_view(R&&, std::ptrdiff_t) -> take_width_view<R>; |
2937 | | |
2938 | | struct _take_width_fn { |
2939 | | template <typename R> |
2940 | | constexpr auto operator()(const R& r, std::ptrdiff_t n) const |
2941 | | -> decltype(take_width_view{r, n}) |
2942 | 19.1k | { |
2943 | 19.1k | return take_width_view{r, n}; |
2944 | 19.1k | } Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) constLine | Count | Source | 2942 | 10.4k | { | 2943 | 10.4k | return take_width_view{r, n}; | 2944 | 10.4k | } |
Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) constLine | Count | Source | 2942 | 4.14k | { | 2943 | 4.14k | return take_width_view{r, n}; | 2944 | 4.14k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) constLine | Count | Source | 2942 | 3.36k | { | 2943 | 3.36k | return take_width_view{r, n}; | 2944 | 3.36k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) constLine | Count | Source | 2942 | 1.22k | { | 2943 | 1.22k | return take_width_view{r, n}; | 2944 | 1.22k | } |
|
2945 | | }; |
2946 | | |
2947 | | inline constexpr _take_width_fn take_width{}; |
2948 | | } // namespace impl |
2949 | | |
2950 | | namespace ranges { |
2951 | | template <typename R> |
2952 | | inline constexpr bool enable_borrowed_range<::scn::impl::take_width_view<R>> = |
2953 | | enable_borrowed_range<R>; |
2954 | | } |
2955 | | |
2956 | | ///////////////////////////////////////////////////////////////// |
2957 | | // contiguous_scan_context |
2958 | | ///////////////////////////////////////////////////////////////// |
2959 | | |
2960 | | template <typename CharT> |
2961 | | class basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT> |
2962 | | : public detail::scan_context_base<basic_scan_args< |
2963 | | basic_scan_context<detail::buffer_range_tag, CharT>>> { |
2964 | | using base = detail::scan_context_base< |
2965 | | basic_scan_args<basic_scan_context<detail::buffer_range_tag, CharT>>>; |
2966 | | |
2967 | | using parent_context_type = |
2968 | | basic_scan_context<detail::buffer_range_tag, CharT>; |
2969 | | using args_type = basic_scan_args<parent_context_type>; |
2970 | | using arg_type = basic_scan_arg<parent_context_type>; |
2971 | | |
2972 | | public: |
2973 | | using char_type = CharT; |
2974 | | using range_type = ranges::subrange<const char_type*, const char_type*>; |
2975 | | using iterator = const char_type*; |
2976 | | using sentinel = const char_type*; |
2977 | | using parse_context_type = basic_scan_parse_context<char_type>; |
2978 | | |
2979 | | template <typename Range, |
2980 | | std::enable_if_t<ranges::contiguous_range<Range> && |
2981 | | ranges::borrowed_range<Range>>* = nullptr> |
2982 | | constexpr basic_scan_context(Range&& r, |
2983 | | args_type a, |
2984 | | detail::locale_ref loc = {}) |
2985 | 142k | : base(SCN_MOVE(a), loc), |
2986 | 142k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), |
2987 | 142k | m_current(m_range.begin()) |
2988 | 142k | { |
2989 | 142k | } Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2INSt3__117basic_string_viewIcNSB_11char_traitsIcEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSO_10locale_refE Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2INSt3__117basic_string_viewIwNSB_11char_traitsIwEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSO_10locale_refE _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSL_10locale_refE Line | Count | Source | 2985 | 47.3k | : base(SCN_MOVE(a), loc), | 2986 | 47.3k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 2987 | 47.3k | m_current(m_range.begin()) | 2988 | 47.3k | { | 2989 | 47.3k | } |
_ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSL_10locale_refE Line | Count | Source | 2985 | 94.6k | : base(SCN_MOVE(a), loc), | 2986 | 94.6k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 2987 | 94.6k | m_current(m_range.begin()) | 2988 | 94.6k | { | 2989 | 94.6k | } |
|
2990 | | |
2991 | | constexpr iterator begin() const |
2992 | 194M | { |
2993 | 194M | return m_current; |
2994 | 194M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin() const Line | Count | Source | 2992 | 131k | { | 2993 | 131k | return m_current; | 2994 | 131k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin() const Line | Count | Source | 2992 | 194M | { | 2993 | 194M | return m_current; | 2994 | 194M | } |
|
2995 | | |
2996 | | constexpr sentinel end() const |
2997 | 388M | { |
2998 | 388M | return m_range.end(); |
2999 | 388M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::end() const Line | Count | Source | 2997 | 132k | { | 2998 | 132k | return m_range.end(); | 2999 | 132k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::end() const Line | Count | Source | 2997 | 388M | { | 2998 | 388M | return m_range.end(); | 2999 | 388M | } |
|
3000 | | |
3001 | | constexpr auto range() const |
3002 | 150k | { |
3003 | 150k | return ranges::subrange{begin(), end()}; |
3004 | 150k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::range() const Line | Count | Source | 3002 | 34.4k | { | 3003 | 34.4k | return ranges::subrange{begin(), end()}; | 3004 | 34.4k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::range() const Line | Count | Source | 3002 | 116k | { | 3003 | 116k | return ranges::subrange{begin(), end()}; | 3004 | 116k | } |
|
3005 | | |
3006 | | constexpr auto underlying_range() const |
3007 | 0 | { |
3008 | 0 | return m_range; |
3009 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::underlying_range() const Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::underlying_range() const |
3010 | | |
3011 | | void advance_to(iterator it) |
3012 | 194M | { |
3013 | 194M | SCN_EXPECT(it <= end()); |
3014 | 194M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { |
3015 | 194M | if (it == nullptr) { |
3016 | 0 | it = end(); |
3017 | 0 | } |
3018 | 194M | } |
3019 | 194M | m_current = SCN_MOVE(it); |
3020 | 194M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(char const*) Line | Count | Source | 3012 | 49.7k | { | 3013 | 49.7k | SCN_EXPECT(it <= end()); | 3014 | 49.7k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3015 | 49.7k | if (it == nullptr) { | 3016 | 0 | it = end(); | 3017 | 0 | } | 3018 | 49.7k | } | 3019 | 49.7k | m_current = SCN_MOVE(it); | 3020 | 49.7k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(wchar_t const*) Line | Count | Source | 3012 | 194M | { | 3013 | 194M | SCN_EXPECT(it <= end()); | 3014 | 194M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3015 | 194M | if (it == nullptr) { | 3016 | 0 | it = end(); | 3017 | 0 | } | 3018 | 194M | } | 3019 | 194M | m_current = SCN_MOVE(it); | 3020 | 194M | } |
|
3021 | | |
3022 | | void advance_to(const typename parent_context_type::iterator& it) |
3023 | 0 | { |
3024 | 0 | SCN_EXPECT(it.position() <= m_range.size()); |
3025 | 0 | m_current = m_range.begin() + it.position(); |
3026 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&) Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&) |
3027 | | |
3028 | | std::ptrdiff_t begin_position() |
3029 | 0 | { |
3030 | 0 | return ranges::distance(m_range.begin(), begin()); |
3031 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin_position() Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin_position() |
3032 | | |
3033 | | private: |
3034 | | range_type m_range; |
3035 | | iterator m_current; |
3036 | | }; |
3037 | | |
3038 | | namespace impl { |
3039 | | template <typename CharT> |
3040 | | using basic_contiguous_scan_context = |
3041 | | basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT>; |
3042 | | |
3043 | | struct reader_error_handler { |
3044 | | constexpr void on_error(const char* msg) |
3045 | 13.6k | { |
3046 | 13.6k | SCN_UNLIKELY_ATTR |
3047 | 13.6k | m_msg = msg; |
3048 | 13.6k | } |
3049 | | explicit constexpr operator bool() const |
3050 | 29.8k | { |
3051 | 29.8k | return m_msg == nullptr; |
3052 | 29.8k | } |
3053 | | |
3054 | | const char* m_msg{nullptr}; |
3055 | | }; |
3056 | | |
3057 | | ///////////////////////////////////////////////////////////////// |
3058 | | // General reading support |
3059 | | ///////////////////////////////////////////////////////////////// |
3060 | | |
3061 | | template <typename SourceRange> |
3062 | | auto skip_classic_whitespace(const SourceRange& range, |
3063 | | bool allow_exhaustion = false) |
3064 | | -> eof_expected<ranges::const_iterator_t<SourceRange>> |
3065 | 59.5k | { |
3066 | 59.5k | if (!allow_exhaustion) { |
3067 | 58.1k | auto it = read_while_classic_space(range); |
3068 | 58.1k | if (auto e = eof_check(ranges::subrange{it, range.end()}); |
3069 | 58.1k | SCN_UNLIKELY(!e)) { |
3070 | 262 | return unexpected(e); |
3071 | 262 | } |
3072 | | |
3073 | 57.8k | return it; |
3074 | 58.1k | } |
3075 | | |
3076 | 1.42k | return read_while_classic_space(range); |
3077 | 59.5k | } Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3065 | 534 | { | 3066 | 534 | if (!allow_exhaustion) { | 3067 | 0 | auto it = read_while_classic_space(range); | 3068 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 0 | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 0 | return it; | 3074 | 0 | } | 3075 | | | 3076 | 534 | return read_while_classic_space(range); | 3077 | 534 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3065 | 6.89k | { | 3066 | 6.89k | if (!allow_exhaustion) { | 3067 | 6.71k | auto it = read_while_classic_space(range); | 3068 | 6.71k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 6.71k | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 6.71k | return it; | 3074 | 6.71k | } | 3075 | | | 3076 | 178 | return read_while_classic_space(range); | 3077 | 6.89k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3065 | 372 | { | 3066 | 372 | if (!allow_exhaustion) { | 3067 | 0 | auto it = read_while_classic_space(range); | 3068 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 0 | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 0 | return it; | 3074 | 0 | } | 3075 | | | 3076 | 372 | return read_while_classic_space(range); | 3077 | 372 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3065 | 48.5k | { | 3066 | 48.5k | if (!allow_exhaustion) { | 3067 | 48.1k | auto it = read_while_classic_space(range); | 3068 | 48.1k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 48.1k | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 48.1k | return it; | 3074 | 48.1k | } | 3075 | | | 3076 | 338 | return read_while_classic_space(range); | 3077 | 48.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3065 | 2.28k | { | 3066 | 2.28k | if (!allow_exhaustion) { | 3067 | 2.28k | auto it = read_while_classic_space(range); | 3068 | 2.28k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 2.28k | SCN_UNLIKELY(!e)) { | 3070 | 238 | return unexpected(e); | 3071 | 238 | } | 3072 | | | 3073 | 2.04k | return it; | 3074 | 2.28k | } | 3075 | | | 3076 | 0 | return read_while_classic_space(range); | 3077 | 2.28k | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3065 | 980 | { | 3066 | 980 | if (!allow_exhaustion) { | 3067 | 980 | auto it = read_while_classic_space(range); | 3068 | 980 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 980 | SCN_UNLIKELY(!e)) { | 3070 | 24 | return unexpected(e); | 3071 | 24 | } | 3072 | | | 3073 | 956 | return it; | 3074 | 980 | } | 3075 | | | 3076 | 0 | return read_while_classic_space(range); | 3077 | 980 | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b |
3078 | | |
3079 | | template <typename SourceCharT, typename DestCharT> |
3080 | | scan_expected<void> transcode_impl(std::basic_string_view<SourceCharT> src, |
3081 | | std::basic_string<DestCharT>& dst) |
3082 | 7.81k | { |
3083 | 7.81k | dst.clear(); |
3084 | 7.81k | transcode_valid_to_string(src, dst); |
3085 | 7.81k | return {}; |
3086 | 7.81k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3082 | 1.60k | { | 3083 | 1.60k | dst.clear(); | 3084 | 1.60k | transcode_valid_to_string(src, dst); | 3085 | 1.60k | return {}; | 3086 | 1.60k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3082 | 6.21k | { | 3083 | 6.21k | dst.clear(); | 3084 | 6.21k | transcode_valid_to_string(src, dst); | 3085 | 6.21k | return {}; | 3086 | 6.21k | } |
|
3087 | | |
3088 | | template <typename SourceCharT, typename DestCharT> |
3089 | | scan_expected<void> transcode_if_necessary( |
3090 | | const contiguous_range_factory<SourceCharT>& source, |
3091 | | std::basic_string<DestCharT>& dest) |
3092 | | { |
3093 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3094 | | dest.assign(source.view()); |
3095 | | } |
3096 | | else { |
3097 | | return transcode_impl(source.view(), dest); |
3098 | | } |
3099 | | |
3100 | | return {}; |
3101 | | } |
3102 | | |
3103 | | template <typename SourceCharT, typename DestCharT> |
3104 | | scan_expected<void> transcode_if_necessary( |
3105 | | contiguous_range_factory<SourceCharT>&& source, |
3106 | | std::basic_string<DestCharT>& dest) |
3107 | 1.36k | { |
3108 | 1.36k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3109 | 682 | if (source.stores_allocated_string()) { |
3110 | 682 | dest.assign(SCN_MOVE(source.get_allocated_string())); |
3111 | 682 | } |
3112 | 0 | else { |
3113 | 0 | dest.assign(source.view()); |
3114 | 0 | } |
3115 | | } |
3116 | 682 | else { |
3117 | 682 | return transcode_impl(source.view(), dest); |
3118 | 682 | } |
3119 | | |
3120 | 0 | return {}; |
3121 | 1.36k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3107 | 448 | { | 3108 | 448 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | 448 | if (source.stores_allocated_string()) { | 3110 | 448 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | 448 | } | 3112 | 0 | else { | 3113 | 0 | dest.assign(source.view()); | 3114 | 0 | } | 3115 | | } | 3116 | | else { | 3117 | | return transcode_impl(source.view(), dest); | 3118 | | } | 3119 | | | 3120 | 448 | return {}; | 3121 | 448 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3107 | 448 | { | 3108 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | | if (source.stores_allocated_string()) { | 3110 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | | } | 3112 | | else { | 3113 | | dest.assign(source.view()); | 3114 | | } | 3115 | | } | 3116 | 448 | else { | 3117 | 448 | return transcode_impl(source.view(), dest); | 3118 | 448 | } | 3119 | | | 3120 | 0 | return {}; | 3121 | 448 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3107 | 234 | { | 3108 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | | if (source.stores_allocated_string()) { | 3110 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | | } | 3112 | | else { | 3113 | | dest.assign(source.view()); | 3114 | | } | 3115 | | } | 3116 | 234 | else { | 3117 | 234 | return transcode_impl(source.view(), dest); | 3118 | 234 | } | 3119 | | | 3120 | 0 | return {}; | 3121 | 234 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3107 | 234 | { | 3108 | 234 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | 234 | if (source.stores_allocated_string()) { | 3110 | 234 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | 234 | } | 3112 | 0 | else { | 3113 | 0 | dest.assign(source.view()); | 3114 | 0 | } | 3115 | | } | 3116 | | else { | 3117 | | return transcode_impl(source.view(), dest); | 3118 | | } | 3119 | | | 3120 | 234 | return {}; | 3121 | 234 | } |
|
3122 | | |
3123 | | template <typename SourceCharT, typename DestCharT> |
3124 | | scan_expected<void> transcode_if_necessary( |
3125 | | string_view_wrapper<SourceCharT> source, |
3126 | | std::basic_string<DestCharT>& dest) |
3127 | 14.2k | { |
3128 | 14.2k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3129 | 7.13k | dest.assign(source.view()); |
3130 | | } |
3131 | 7.13k | else { |
3132 | 7.13k | return transcode_impl(source.view(), dest); |
3133 | 7.13k | } |
3134 | | |
3135 | 0 | return {}; |
3136 | 14.2k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3127 | 1.15k | { | 3128 | 1.15k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | 1.15k | dest.assign(source.view()); | 3130 | | } | 3131 | | else { | 3132 | | return transcode_impl(source.view(), dest); | 3133 | | } | 3134 | | | 3135 | 1.15k | return {}; | 3136 | 1.15k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3127 | 1.15k | { | 3128 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | | dest.assign(source.view()); | 3130 | | } | 3131 | 1.15k | else { | 3132 | 1.15k | return transcode_impl(source.view(), dest); | 3133 | 1.15k | } | 3134 | | | 3135 | 0 | return {}; | 3136 | 1.15k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3127 | 5.97k | { | 3128 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | | dest.assign(source.view()); | 3130 | | } | 3131 | 5.97k | else { | 3132 | 5.97k | return transcode_impl(source.view(), dest); | 3133 | 5.97k | } | 3134 | | | 3135 | 0 | return {}; | 3136 | 5.97k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3127 | 5.97k | { | 3128 | 5.97k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | 5.97k | dest.assign(source.view()); | 3130 | | } | 3131 | | else { | 3132 | | return transcode_impl(source.view(), dest); | 3133 | | } | 3134 | | | 3135 | 5.97k | return {}; | 3136 | 5.97k | } |
|
3137 | | |
3138 | | ///////////////////////////////////////////////////////////////// |
3139 | | // Reader base classes etc. |
3140 | | ///////////////////////////////////////////////////////////////// |
3141 | | |
3142 | | template <typename Derived, typename CharT> |
3143 | | class reader_base { |
3144 | | public: |
3145 | | using char_type = CharT; |
3146 | | |
3147 | | constexpr reader_base() = default; |
3148 | | |
3149 | | bool skip_ws_before_read() const |
3150 | 30.4k | { |
3151 | 30.4k | return true; |
3152 | 30.4k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 2.58k | { | 3151 | 2.58k | return true; | 3152 | 2.58k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 1.30k | { | 3151 | 1.30k | return true; | 3152 | 1.30k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 12.4k | { | 3151 | 12.4k | return true; | 3152 | 12.4k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 6.21k | { | 3151 | 6.21k | return true; | 3152 | 6.21k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 1.54k | { | 3151 | 1.54k | return true; | 3152 | 1.54k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 6.32k | { | 3151 | 6.32k | return true; | 3152 | 6.32k | } |
|
3153 | | |
3154 | | scan_expected<void> check_specs(const detail::format_specs& specs) |
3155 | 23.3k | { |
3156 | 23.3k | reader_error_handler eh{}; |
3157 | 23.3k | get_derived().check_specs_impl(specs, eh); |
3158 | 23.3k | if (SCN_UNLIKELY(!eh)) { |
3159 | 9.19k | return detail::unexpected_scan_error( |
3160 | 9.19k | scan_error::invalid_format_string, eh.m_msg); |
3161 | 9.19k | } |
3162 | 14.1k | return {}; |
3163 | 23.3k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 4.76k | { | 3156 | 4.76k | reader_error_handler eh{}; | 3157 | 4.76k | get_derived().check_specs_impl(specs, eh); | 3158 | 4.76k | if (SCN_UNLIKELY(!eh)) { | 3159 | 3.44k | return detail::unexpected_scan_error( | 3160 | 3.44k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 3.44k | } | 3162 | 1.32k | return {}; | 3163 | 4.76k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.38k | { | 3156 | 2.38k | reader_error_handler eh{}; | 3157 | 2.38k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.38k | if (SCN_UNLIKELY(!eh)) { | 3159 | 1.71k | return detail::unexpected_scan_error( | 3160 | 1.71k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 1.71k | } | 3162 | 674 | return {}; | 3163 | 2.38k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 7.02k | { | 3156 | 7.02k | reader_error_handler eh{}; | 3157 | 7.02k | get_derived().check_specs_impl(specs, eh); | 3158 | 7.02k | if (SCN_UNLIKELY(!eh)) { | 3159 | 432 | return detail::unexpected_scan_error( | 3160 | 432 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 432 | } | 3162 | 6.59k | return {}; | 3163 | 7.02k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 1.97k | { | 3156 | 1.97k | reader_error_handler eh{}; | 3157 | 1.97k | get_derived().check_specs_impl(specs, eh); | 3158 | 1.97k | if (SCN_UNLIKELY(!eh)) { | 3159 | 936 | return detail::unexpected_scan_error( | 3160 | 936 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 936 | } | 3162 | 1.04k | return {}; | 3163 | 1.97k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 988 | { | 3156 | 988 | reader_error_handler eh{}; | 3157 | 988 | get_derived().check_specs_impl(specs, eh); | 3158 | 988 | if (SCN_UNLIKELY(!eh)) { | 3159 | 500 | return detail::unexpected_scan_error( | 3160 | 500 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 500 | } | 3162 | 488 | return {}; | 3163 | 988 | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.82k | { | 3156 | 2.82k | reader_error_handler eh{}; | 3157 | 2.82k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.82k | if (SCN_UNLIKELY(!eh)) { | 3159 | 318 | return detail::unexpected_scan_error( | 3160 | 318 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 318 | } | 3162 | 2.50k | return {}; | 3163 | 2.82k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.38k | { | 3156 | 2.38k | reader_error_handler eh{}; | 3157 | 2.38k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.38k | if (SCN_UNLIKELY(!eh)) { | 3159 | 1.46k | return detail::unexpected_scan_error( | 3160 | 1.46k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 1.46k | } | 3162 | 918 | return {}; | 3163 | 2.38k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 988 | { | 3156 | 988 | reader_error_handler eh{}; | 3157 | 988 | get_derived().check_specs_impl(specs, eh); | 3158 | 988 | if (SCN_UNLIKELY(!eh)) { | 3159 | 388 | return detail::unexpected_scan_error( | 3160 | 388 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 388 | } | 3162 | 600 | return {}; | 3163 | 988 | } |
|
3164 | | |
3165 | | private: |
3166 | | Derived& get_derived() |
3167 | 23.3k | { |
3168 | 23.3k | return static_cast<Derived&>(*this); |
3169 | 23.3k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::get_derived() Line | Count | Source | 3167 | 4.76k | { | 3168 | 4.76k | return static_cast<Derived&>(*this); | 3169 | 4.76k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::get_derived() Line | Count | Source | 3167 | 2.38k | { | 3168 | 2.38k | return static_cast<Derived&>(*this); | 3169 | 2.38k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::get_derived() Line | Count | Source | 3167 | 7.02k | { | 3168 | 7.02k | return static_cast<Derived&>(*this); | 3169 | 7.02k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 1.97k | { | 3168 | 1.97k | return static_cast<Derived&>(*this); | 3169 | 1.97k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 988 | { | 3168 | 988 | return static_cast<Derived&>(*this); | 3169 | 988 | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 2.82k | { | 3168 | 2.82k | return static_cast<Derived&>(*this); | 3169 | 2.82k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::get_derived() Line | Count | Source | 3167 | 2.38k | { | 3168 | 2.38k | return static_cast<Derived&>(*this); | 3169 | 2.38k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 988 | { | 3168 | 988 | return static_cast<Derived&>(*this); | 3169 | 988 | } |
|
3170 | | const Derived& get_derived() const |
3171 | | { |
3172 | | return static_cast<const Derived&>(*this); |
3173 | | } |
3174 | | }; |
3175 | | |
3176 | | template <typename CharT> |
3177 | | class reader_impl_for_monostate { |
3178 | | public: |
3179 | | constexpr reader_impl_for_monostate() = default; |
3180 | | |
3181 | | bool skip_ws_before_read() const |
3182 | 0 | { |
3183 | 0 | return true; |
3184 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::skip_ws_before_read() const Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::skip_ws_before_read() const |
3185 | | |
3186 | | static scan_expected<void> check_specs(const detail::format_specs&) |
3187 | 0 | { |
3188 | 0 | SCN_EXPECT(false); |
3189 | 0 | SCN_UNREACHABLE; |
3190 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::check_specs(scn::v4::detail::format_specs const&) Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::check_specs(scn::v4::detail::format_specs const&) |
3191 | | |
3192 | | template <typename Range> |
3193 | | auto read_default(Range, monostate&, detail::locale_ref) |
3194 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3195 | 0 | { |
3196 | 0 | SCN_EXPECT(false); |
3197 | 0 | SCN_UNREACHABLE; |
3198 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE |
3199 | | |
3200 | | template <typename Range> |
3201 | | auto read_specs(Range, |
3202 | | const detail::format_specs&, |
3203 | | monostate&, |
3204 | | detail::locale_ref) |
3205 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3206 | 0 | { |
3207 | 0 | SCN_EXPECT(false); |
3208 | 0 | SCN_UNREACHABLE; |
3209 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE |
3210 | | }; |
3211 | | |
3212 | | ///////////////////////////////////////////////////////////////// |
3213 | | // Numeric reader support |
3214 | | ///////////////////////////////////////////////////////////////// |
3215 | | |
3216 | | enum class sign_type { default_sign = -1, minus_sign = 0, plus_sign = 1 }; |
3217 | | |
3218 | | inline constexpr std::array<uint8_t, 256> char_to_int_table = { |
3219 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3220 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3221 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3222 | | 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, |
3223 | | 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, |
3224 | | 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
3225 | | 35, 255, 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, |
3226 | | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, |
3227 | | 33, 34, 35, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3228 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3229 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3230 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3231 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3232 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3233 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3234 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3235 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3236 | | 255}; |
3237 | | |
3238 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(char ch) |
3239 | 52.2k | { |
3240 | 52.2k | return char_to_int_table[static_cast<unsigned char>(ch)]; |
3241 | 52.2k | } |
3242 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(wchar_t ch) |
3243 | 43.5k | { |
3244 | 43.5k | #if WCHAR_MIN < 0 |
3245 | 43.5k | if (ch >= 0 && ch <= 255) { |
3246 | | #else |
3247 | | if (ch <= 255) { |
3248 | | #endif |
3249 | 43.5k | return char_to_int(static_cast<char>(ch)); |
3250 | 43.5k | } |
3251 | 40 | return 255; |
3252 | 43.5k | } |
3253 | | |
3254 | | template <typename Range> |
3255 | | auto parse_numeric_sign(Range range) |
3256 | | -> eof_expected<std::pair<ranges::const_iterator_t<Range>, sign_type>> |
3257 | 29.8k | { |
3258 | 29.8k | auto r = read_one_of_code_unit(range, "+-"); |
3259 | 29.8k | if (!r) { |
3260 | 29.8k | if (r.error() == parse_error::error) { |
3261 | 29.8k | return std::pair{range.begin(), sign_type::default_sign}; |
3262 | 29.8k | } |
3263 | 0 | return unexpected(eof_error::eof); |
3264 | 29.8k | } |
3265 | | |
3266 | 0 | auto& it = *r; |
3267 | 0 | if (*range.begin() == '-') { |
3268 | 0 | return std::pair{it, sign_type::minus_sign}; |
3269 | 0 | } |
3270 | 0 | return std::pair{it, sign_type::plus_sign}; |
3271 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3257 | 1.37k | { | 3258 | 1.37k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 1.37k | if (!r) { | 3260 | 1.37k | if (r.error() == parse_error::error) { | 3261 | 1.37k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 1.37k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 1.37k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3257 | 3.63k | { | 3258 | 3.63k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 3.63k | if (!r) { | 3260 | 3.63k | if (r.error() == parse_error::error) { | 3261 | 3.63k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 3.63k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 3.63k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3257 | 602 | { | 3258 | 602 | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 602 | if (!r) { | 3260 | 602 | if (r.error() == parse_error::error) { | 3261 | 602 | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 602 | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 602 | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3257 | 24.2k | { | 3258 | 24.2k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 24.2k | if (!r) { | 3260 | 24.2k | if (r.error() == parse_error::error) { | 3261 | 24.2k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 24.2k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 24.2k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ |
3272 | | |
3273 | | template <typename CharT> |
3274 | | class numeric_reader { |
3275 | | public: |
3276 | | contiguous_range_factory<CharT> m_buffer{}; |
3277 | | }; |
3278 | | |
3279 | | ///////////////////////////////////////////////////////////////// |
3280 | | // Integer reader |
3281 | | ///////////////////////////////////////////////////////////////// |
3282 | | |
3283 | | template <typename Iterator> |
3284 | | struct parse_integer_prefix_result { |
3285 | | SCN_NO_UNIQUE_ADDRESS Iterator iterator; |
3286 | | int parsed_base{0}; |
3287 | | sign_type sign{sign_type::default_sign}; |
3288 | | bool is_zero{false}; |
3289 | | }; |
3290 | | |
3291 | | template <typename Range> |
3292 | | auto parse_integer_bin_base_prefix(Range range) |
3293 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3294 | 154 | { |
3295 | 154 | return read_matching_string_classic_nocase(range, "0b"); |
3296 | 154 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3294 | 40 | { | 3295 | 40 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 40 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3294 | 22 | { | 3295 | 22 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3294 | 28 | { | 3295 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 28 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3294 | 64 | { | 3295 | 64 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 64 | } |
|
3297 | | |
3298 | | template <typename Range> |
3299 | | auto parse_integer_hex_base_prefix(Range range) |
3300 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3301 | 7.48k | { |
3302 | 7.48k | return read_matching_string_classic_nocase(range, "0x"); |
3303 | 7.48k | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3301 | 348 | { | 3302 | 348 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 348 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3301 | 910 | { | 3302 | 910 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 910 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3301 | 156 | { | 3302 | 156 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 156 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3301 | 6.07k | { | 3302 | 6.07k | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 6.07k | } |
|
3304 | | |
3305 | | template <typename Range> |
3306 | | auto parse_integer_oct_base_prefix(Range range, bool& zero_parsed) |
3307 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3308 | 158 | { |
3309 | 158 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { |
3310 | 0 | return *r; |
3311 | 0 | } |
3312 | | |
3313 | 158 | if (auto r = read_matching_code_unit(range, '0')) { |
3314 | 0 | zero_parsed = true; |
3315 | 0 | return *r; |
3316 | 0 | } |
3317 | | |
3318 | 158 | return unexpected(parse_error::error); |
3319 | 158 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3308 | 40 | { | 3309 | 40 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 40 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 40 | return unexpected(parse_error::error); | 3319 | 40 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3308 | 42 | { | 3309 | 42 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 42 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 42 | return unexpected(parse_error::error); | 3319 | 42 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3308 | 44 | { | 3309 | 44 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 44 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 44 | return unexpected(parse_error::error); | 3319 | 44 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3308 | 32 | { | 3309 | 32 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 32 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 32 | return unexpected(parse_error::error); | 3319 | 32 | } |
|
3320 | | |
3321 | | template <typename Range> |
3322 | | auto parse_integer_base_prefix_for_detection(Range range) |
3323 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3324 | 86 | { |
3325 | 86 | if (auto r = parse_integer_hex_base_prefix(range)) { |
3326 | 0 | return {*r, 16, false}; |
3327 | 0 | } |
3328 | 86 | if (auto r = parse_integer_bin_base_prefix(range)) { |
3329 | 0 | return {*r, 2, false}; |
3330 | 0 | } |
3331 | 86 | { |
3332 | 86 | bool zero_parsed{false}; |
3333 | 86 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { |
3334 | 0 | return {*r, 8, zero_parsed}; |
3335 | 0 | } |
3336 | 86 | } |
3337 | 86 | return {range.begin(), 10, false}; |
3338 | 86 | } Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3324 | 26 | { | 3325 | 26 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 26 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 26 | { | 3332 | 26 | bool zero_parsed{false}; | 3333 | 26 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 26 | } | 3337 | 26 | return {range.begin(), 10, false}; | 3338 | 26 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3324 | 16 | { | 3325 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 16 | { | 3332 | 16 | bool zero_parsed{false}; | 3333 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 16 | } | 3337 | 16 | return {range.begin(), 10, false}; | 3338 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3324 | 22 | { | 3325 | 22 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 22 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 22 | { | 3332 | 22 | bool zero_parsed{false}; | 3333 | 22 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 22 | } | 3337 | 22 | return {range.begin(), 10, false}; | 3338 | 22 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3324 | 22 | { | 3325 | 22 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 22 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 22 | { | 3332 | 22 | bool zero_parsed{false}; | 3333 | 22 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 22 | } | 3337 | 22 | return {range.begin(), 10, false}; | 3338 | 22 | } |
|
3339 | | |
3340 | | template <typename Range> |
3341 | | auto parse_integer_base_prefix(Range range, int base) |
3342 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3343 | 22.4k | { |
3344 | 22.4k | switch (base) { |
3345 | 68 | case 2: |
3346 | | // allow 0b/0B |
3347 | 68 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, |
3348 | 68 | false}; |
3349 | | |
3350 | 72 | case 8: { |
3351 | | // allow 0o/0O/0 |
3352 | 72 | bool zero_parsed = false; |
3353 | 72 | auto it = apply_opt( |
3354 | 72 | parse_integer_oct_base_prefix(range, zero_parsed), range); |
3355 | 72 | return {it, 8, zero_parsed}; |
3356 | 0 | } |
3357 | | |
3358 | 7.39k | case 16: |
3359 | | // allow 0x/0X |
3360 | 7.39k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, |
3361 | 7.39k | false}; |
3362 | | |
3363 | 86 | case 0: |
3364 | | // detect base |
3365 | 86 | return parse_integer_base_prefix_for_detection(range); |
3366 | | |
3367 | 14.8k | default: |
3368 | | // no base prefix allowed |
3369 | 14.8k | return {range.begin(), base, false}; |
3370 | 22.4k | } |
3371 | 22.4k | } Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3343 | 1.02k | { | 3344 | 1.02k | switch (base) { | 3345 | 14 | case 2: | 3346 | | // allow 0b/0B | 3347 | 14 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 14 | false}; | 3349 | | | 3350 | 14 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 14 | bool zero_parsed = false; | 3353 | 14 | auto it = apply_opt( | 3354 | 14 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 14 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 322 | case 16: | 3359 | | // allow 0x/0X | 3360 | 322 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 322 | false}; | 3362 | | | 3363 | 26 | case 0: | 3364 | | // detect base | 3365 | 26 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 648 | default: | 3368 | | // no base prefix allowed | 3369 | 648 | return {range.begin(), base, false}; | 3370 | 1.02k | } | 3371 | 1.02k | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3343 | 2.72k | { | 3344 | 2.72k | switch (base) { | 3345 | 6 | case 2: | 3346 | | // allow 0b/0B | 3347 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 6 | false}; | 3349 | | | 3350 | 26 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 26 | bool zero_parsed = false; | 3353 | 26 | auto it = apply_opt( | 3354 | 26 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 26 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 894 | case 16: | 3359 | | // allow 0x/0X | 3360 | 894 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 894 | false}; | 3362 | | | 3363 | 16 | case 0: | 3364 | | // detect base | 3365 | 16 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 1.78k | default: | 3368 | | // no base prefix allowed | 3369 | 1.78k | return {range.begin(), base, false}; | 3370 | 2.72k | } | 3371 | 2.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3343 | 460 | { | 3344 | 460 | switch (base) { | 3345 | 6 | case 2: | 3346 | | // allow 0b/0B | 3347 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 6 | false}; | 3349 | | | 3350 | 22 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 22 | bool zero_parsed = false; | 3353 | 22 | auto it = apply_opt( | 3354 | 22 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 22 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 134 | case 16: | 3359 | | // allow 0x/0X | 3360 | 134 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 134 | false}; | 3362 | | | 3363 | 22 | case 0: | 3364 | | // detect base | 3365 | 22 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 276 | default: | 3368 | | // no base prefix allowed | 3369 | 276 | return {range.begin(), base, false}; | 3370 | 460 | } | 3371 | 460 | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3343 | 18.2k | { | 3344 | 18.2k | switch (base) { | 3345 | 42 | case 2: | 3346 | | // allow 0b/0B | 3347 | 42 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 42 | false}; | 3349 | | | 3350 | 10 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 10 | bool zero_parsed = false; | 3353 | 10 | auto it = apply_opt( | 3354 | 10 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 10 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 6.04k | case 16: | 3359 | | // allow 0x/0X | 3360 | 6.04k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 6.04k | false}; | 3362 | | | 3363 | 22 | case 0: | 3364 | | // detect base | 3365 | 22 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 12.1k | default: | 3368 | | // no base prefix allowed | 3369 | 12.1k | return {range.begin(), base, false}; | 3370 | 18.2k | } | 3371 | 18.2k | } |
|
3372 | | |
3373 | | template <typename Range> |
3374 | | auto parse_integer_prefix(Range range, int base) -> eof_expected< |
3375 | | parse_integer_prefix_result<ranges::const_iterator_t<Range>>> |
3376 | 22.4k | { |
3377 | 22.4k | SCN_TRY(sign_result, parse_numeric_sign(range)); |
3378 | 22.4k | auto [base_prefix_begin_it, sign] = sign_result; |
3379 | | |
3380 | 22.4k | auto [digits_begin_it, parsed_base, parsed_zero] = |
3381 | 22.4k | parse_integer_base_prefix( |
3382 | 22.4k | ranges::subrange{base_prefix_begin_it, range.end()}, base); |
3383 | | |
3384 | 22.4k | if (parsed_zero) { |
3385 | 0 | if (digits_begin_it == range.end() || |
3386 | 0 | char_to_int(*digits_begin_it) >= 8) { |
3387 | 0 | digits_begin_it = base_prefix_begin_it; |
3388 | 0 | } |
3389 | 0 | else { |
3390 | 0 | parsed_zero = false; |
3391 | 0 | } |
3392 | 0 | } |
3393 | 22.4k | else { |
3394 | 22.4k | if (digits_begin_it == range.end() || |
3395 | 22.4k | char_to_int(*digits_begin_it) >= parsed_base) { |
3396 | 22.4k | digits_begin_it = base_prefix_begin_it; |
3397 | 22.4k | } |
3398 | 22.4k | } |
3399 | | |
3400 | 22.4k | if (sign == sign_type::default_sign) { |
3401 | 22.4k | sign = sign_type::plus_sign; |
3402 | 22.4k | } |
3403 | 22.4k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ |
3404 | 22.4k | digits_begin_it, parsed_base, sign, parsed_zero}; |
3405 | 22.4k | } Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3376 | 1.02k | { | 3377 | 1.02k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 1.02k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 1.02k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 1.02k | parse_integer_base_prefix( | 3382 | 1.02k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 1.02k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 1.02k | else { | 3394 | 1.02k | if (digits_begin_it == range.end() || | 3395 | 1.02k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 1.02k | digits_begin_it = base_prefix_begin_it; | 3397 | 1.02k | } | 3398 | 1.02k | } | 3399 | | | 3400 | 1.02k | if (sign == sign_type::default_sign) { | 3401 | 1.02k | sign = sign_type::plus_sign; | 3402 | 1.02k | } | 3403 | 1.02k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 1.02k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 1.02k | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3376 | 2.72k | { | 3377 | 2.72k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 2.72k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 2.72k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 2.72k | parse_integer_base_prefix( | 3382 | 2.72k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 2.72k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 2.72k | else { | 3394 | 2.72k | if (digits_begin_it == range.end() || | 3395 | 2.72k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 2.72k | digits_begin_it = base_prefix_begin_it; | 3397 | 2.72k | } | 3398 | 2.72k | } | 3399 | | | 3400 | 2.72k | if (sign == sign_type::default_sign) { | 3401 | 2.72k | sign = sign_type::plus_sign; | 3402 | 2.72k | } | 3403 | 2.72k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 2.72k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 2.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3376 | 460 | { | 3377 | 460 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 460 | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 460 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 460 | parse_integer_base_prefix( | 3382 | 460 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 460 | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 460 | else { | 3394 | 460 | if (digits_begin_it == range.end() || | 3395 | 460 | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 460 | digits_begin_it = base_prefix_begin_it; | 3397 | 460 | } | 3398 | 460 | } | 3399 | | | 3400 | 460 | if (sign == sign_type::default_sign) { | 3401 | 460 | sign = sign_type::plus_sign; | 3402 | 460 | } | 3403 | 460 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 460 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 460 | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3376 | 18.2k | { | 3377 | 18.2k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 18.2k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 18.2k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 18.2k | parse_integer_base_prefix( | 3382 | 18.2k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 18.2k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 18.2k | else { | 3394 | 18.2k | if (digits_begin_it == range.end() || | 3395 | 18.2k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 18.2k | digits_begin_it = base_prefix_begin_it; | 3397 | 18.2k | } | 3398 | 18.2k | } | 3399 | | | 3400 | 18.2k | if (sign == sign_type::default_sign) { | 3401 | 18.2k | sign = sign_type::plus_sign; | 3402 | 18.2k | } | 3403 | 18.2k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 18.2k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 18.2k | } |
|
3406 | | |
3407 | | template <typename Range> |
3408 | | auto parse_integer_digits_without_thsep(Range range, int base) |
3409 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3410 | 22.3k | { |
3411 | 22.3k | using char_type = detail::char_t<Range>; |
3412 | | |
3413 | 22.3k | if constexpr (ranges::contiguous_range<Range>) { |
3414 | 20.8k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
3415 | 0 | return detail::unexpected_scan_error( |
3416 | 0 | scan_error::invalid_scanned_value, |
3417 | 0 | "Failed to parse integer: No digits found"); |
3418 | 0 | } |
3419 | 20.8k | return range.end(); |
3420 | | } |
3421 | 1.42k | else { |
3422 | 1.42k | return read_while1_code_unit(range, |
3423 | 1.42k | [&](char_type ch) noexcept { |
3424 | 1.42k | return char_to_int(ch) < base; |
3425 | 1.42k | }) Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlcE_clEc _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlcE_clEc Line | Count | Source | 3423 | 1.00k | [&](char_type ch) noexcept { | 3424 | 1.00k | return char_to_int(ch) < base; | 3425 | 1.00k | }) |
Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlwE_clEw _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlwE_clEw Line | Count | Source | 3423 | 424 | [&](char_type ch) noexcept { | 3424 | 424 | return char_to_int(ch) < base; | 3425 | 424 | }) |
|
3426 | 1.42k | .transform_error(map_parse_error_to_scan_error( |
3427 | 1.42k | scan_error::invalid_scanned_value, |
3428 | 1.42k | "Failed to parse integer: No digits found")); |
3429 | 1.42k | } |
3430 | 22.3k | } Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3410 | 1.00k | { | 3411 | 1.00k | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | | if constexpr (ranges::contiguous_range<Range>) { | 3414 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | | return detail::unexpected_scan_error( | 3416 | | scan_error::invalid_scanned_value, | 3417 | | "Failed to parse integer: No digits found"); | 3418 | | } | 3419 | | return range.end(); | 3420 | | } | 3421 | 1.00k | else { | 3422 | 1.00k | return read_while1_code_unit(range, | 3423 | 1.00k | [&](char_type ch) noexcept { | 3424 | 1.00k | return char_to_int(ch) < base; | 3425 | 1.00k | }) | 3426 | 1.00k | .transform_error(map_parse_error_to_scan_error( | 3427 | 1.00k | scan_error::invalid_scanned_value, | 3428 | 1.00k | "Failed to parse integer: No digits found")); | 3429 | 1.00k | } | 3430 | 1.00k | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3410 | 2.70k | { | 3411 | 2.70k | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | 2.70k | if constexpr (ranges::contiguous_range<Range>) { | 3414 | 2.70k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | 0 | return detail::unexpected_scan_error( | 3416 | 0 | scan_error::invalid_scanned_value, | 3417 | 0 | "Failed to parse integer: No digits found"); | 3418 | 0 | } | 3419 | 2.70k | return range.end(); | 3420 | | } | 3421 | | else { | 3422 | | return read_while1_code_unit(range, | 3423 | | [&](char_type ch) noexcept { | 3424 | | return char_to_int(ch) < base; | 3425 | | }) | 3426 | | .transform_error(map_parse_error_to_scan_error( | 3427 | | scan_error::invalid_scanned_value, | 3428 | | "Failed to parse integer: No digits found")); | 3429 | | } | 3430 | 2.70k | } |
Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3410 | 424 | { | 3411 | 424 | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | | if constexpr (ranges::contiguous_range<Range>) { | 3414 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | | return detail::unexpected_scan_error( | 3416 | | scan_error::invalid_scanned_value, | 3417 | | "Failed to parse integer: No digits found"); | 3418 | | } | 3419 | | return range.end(); | 3420 | | } | 3421 | 424 | else { | 3422 | 424 | return read_while1_code_unit(range, | 3423 | 424 | [&](char_type ch) noexcept { | 3424 | 424 | return char_to_int(ch) < base; | 3425 | 424 | }) | 3426 | 424 | .transform_error(map_parse_error_to_scan_error( | 3427 | 424 | scan_error::invalid_scanned_value, | 3428 | 424 | "Failed to parse integer: No digits found")); | 3429 | 424 | } | 3430 | 424 | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3410 | 18.1k | { | 3411 | 18.1k | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | 18.1k | if constexpr (ranges::contiguous_range<Range>) { | 3414 | 18.1k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | 0 | return detail::unexpected_scan_error( | 3416 | 0 | scan_error::invalid_scanned_value, | 3417 | 0 | "Failed to parse integer: No digits found"); | 3418 | 0 | } | 3419 | 18.1k | return range.end(); | 3420 | | } | 3421 | | else { | 3422 | | return read_while1_code_unit(range, | 3423 | | [&](char_type ch) noexcept { | 3424 | | return char_to_int(ch) < base; | 3425 | | }) | 3426 | | .transform_error(map_parse_error_to_scan_error( | 3427 | | scan_error::invalid_scanned_value, | 3428 | | "Failed to parse integer: No digits found")); | 3429 | | } | 3430 | 18.1k | } |
|
3431 | | |
3432 | | template <typename Range, typename CharT> |
3433 | | auto parse_integer_digits_with_thsep( |
3434 | | Range range, |
3435 | | int base, |
3436 | | const localized_number_formatting_options<CharT>& locale_options) |
3437 | | -> scan_expected<std::tuple<ranges::const_iterator_t<Range>, |
3438 | | std::basic_string<CharT>, |
3439 | | std::string>> |
3440 | 120 | { |
3441 | 120 | std::basic_string<CharT> output; |
3442 | 120 | std::string thsep_indices; |
3443 | 120 | auto it = range.begin(); |
3444 | 120 | bool digit_matched = false; |
3445 | 120 | for (; it != range.end(); ++it) { |
3446 | 120 | if (*it == locale_options.thousands_sep) { |
3447 | 0 | thsep_indices.push_back( |
3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); |
3449 | 0 | } |
3450 | 120 | else if (char_to_int(*it) >= base) { |
3451 | 120 | break; |
3452 | 120 | } |
3453 | 0 | else { |
3454 | 0 | output.push_back(*it); |
3455 | 0 | digit_matched = true; |
3456 | 0 | } |
3457 | 120 | } |
3458 | 120 | if (SCN_UNLIKELY(!digit_matched)) { |
3459 | 120 | return detail::unexpected_scan_error( |
3460 | 120 | scan_error::invalid_scanned_value, |
3461 | 120 | "Failed to parse integer: No digits found"); |
3462 | 120 | } |
3463 | 0 | return std::tuple{it, output, thsep_indices}; |
3464 | 120 | } Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3440 | 24 | { | 3441 | 24 | std::basic_string<CharT> output; | 3442 | 24 | std::string thsep_indices; | 3443 | 24 | auto it = range.begin(); | 3444 | 24 | bool digit_matched = false; | 3445 | 24 | for (; it != range.end(); ++it) { | 3446 | 24 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 24 | else if (char_to_int(*it) >= base) { | 3451 | 24 | break; | 3452 | 24 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 24 | } | 3458 | 24 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 24 | return detail::unexpected_scan_error( | 3460 | 24 | scan_error::invalid_scanned_value, | 3461 | 24 | "Failed to parse integer: No digits found"); | 3462 | 24 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 24 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3440 | 20 | { | 3441 | 20 | std::basic_string<CharT> output; | 3442 | 20 | std::string thsep_indices; | 3443 | 20 | auto it = range.begin(); | 3444 | 20 | bool digit_matched = false; | 3445 | 20 | for (; it != range.end(); ++it) { | 3446 | 20 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 20 | else if (char_to_int(*it) >= base) { | 3451 | 20 | break; | 3452 | 20 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 20 | } | 3458 | 20 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 20 | return detail::unexpected_scan_error( | 3460 | 20 | scan_error::invalid_scanned_value, | 3461 | 20 | "Failed to parse integer: No digits found"); | 3462 | 20 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 20 | } |
Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3440 | 36 | { | 3441 | 36 | std::basic_string<CharT> output; | 3442 | 36 | std::string thsep_indices; | 3443 | 36 | auto it = range.begin(); | 3444 | 36 | bool digit_matched = false; | 3445 | 36 | for (; it != range.end(); ++it) { | 3446 | 36 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 36 | else if (char_to_int(*it) >= base) { | 3451 | 36 | break; | 3452 | 36 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 36 | } | 3458 | 36 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 36 | return detail::unexpected_scan_error( | 3460 | 36 | scan_error::invalid_scanned_value, | 3461 | 36 | "Failed to parse integer: No digits found"); | 3462 | 36 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 36 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3440 | 40 | { | 3441 | 40 | std::basic_string<CharT> output; | 3442 | 40 | std::string thsep_indices; | 3443 | 40 | auto it = range.begin(); | 3444 | 40 | bool digit_matched = false; | 3445 | 40 | for (; it != range.end(); ++it) { | 3446 | 40 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 40 | else if (char_to_int(*it) >= base) { | 3451 | 40 | break; | 3452 | 40 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 40 | } | 3458 | 40 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 40 | return detail::unexpected_scan_error( | 3460 | 40 | scan_error::invalid_scanned_value, | 3461 | 40 | "Failed to parse integer: No digits found"); | 3462 | 40 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 40 | } |
|
3465 | | |
3466 | | template <typename CharT, typename T> |
3467 | | auto parse_integer_value(std::basic_string_view<CharT> source, |
3468 | | T& value, |
3469 | | sign_type sign, |
3470 | | int base) |
3471 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; |
3472 | | |
3473 | | template <typename T> |
3474 | | void parse_integer_value_exhaustive_valid(std::string_view source, T& value); |
3475 | | |
3476 | | #define SCN_DECLARE_INTEGER_READER_TEMPLATE(CharT, IntT) \ |
3477 | | extern template auto parse_integer_value( \ |
3478 | | std::basic_string_view<CharT> source, IntT& value, sign_type sign, \ |
3479 | | int base) \ |
3480 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; \ |
3481 | | extern template void parse_integer_value_exhaustive_valid( \ |
3482 | | std::string_view, IntT&); |
3483 | | |
3484 | | #if !SCN_DISABLE_TYPE_SCHAR |
3485 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, signed char) |
3486 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, signed char) |
3487 | | #endif |
3488 | | #if !SCN_DISABLE_TYPE_SHORT |
3489 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, short) |
3490 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, short) |
3491 | | #endif |
3492 | | #if !SCN_DISABLE_TYPE_INT |
3493 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, int) |
3494 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, int) |
3495 | | #endif |
3496 | | #if !SCN_DISABLE_TYPE_LONG |
3497 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long) |
3498 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long) |
3499 | | #endif |
3500 | | #if !SCN_DISABLE_TYPE_LONG_LONG |
3501 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long long) |
3502 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long long) |
3503 | | #endif |
3504 | | #if !SCN_DISABLE_TYPE_UCHAR |
3505 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned char) |
3506 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned char) |
3507 | | #endif |
3508 | | #if !SCN_DISABLE_TYPE_USHORT |
3509 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned short) |
3510 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned short) |
3511 | | #endif |
3512 | | #if !SCN_DISABLE_TYPE_UINT |
3513 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned int) |
3514 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned int) |
3515 | | #endif |
3516 | | #if !SCN_DISABLE_TYPE_ULONG |
3517 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long) |
3518 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long) |
3519 | | #endif |
3520 | | #if !SCN_DISABLE_TYPE_ULONG_LONG |
3521 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long long) |
3522 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long long) |
3523 | | #endif |
3524 | | |
3525 | | #undef SCN_DECLARE_INTEGER_READER_TEMPLATE |
3526 | | |
3527 | | template <typename CharT> |
3528 | | class reader_impl_for_int |
3529 | | : public reader_base<reader_impl_for_int<CharT>, CharT> { |
3530 | | public: |
3531 | | constexpr reader_impl_for_int() = default; |
3532 | | |
3533 | | void check_specs_impl(const detail::format_specs& specs, |
3534 | | reader_error_handler& eh) |
3535 | 6.74k | { |
3536 | 6.74k | detail::check_int_type_specs(specs, eh); |
3537 | 6.74k | } scn::v4::impl::reader_impl_for_int<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3535 | 4.76k | { | 3536 | 4.76k | detail::check_int_type_specs(specs, eh); | 3537 | 4.76k | } |
scn::v4::impl::reader_impl_for_int<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3535 | 1.97k | { | 3536 | 1.97k | detail::check_int_type_specs(specs, eh); | 3537 | 1.97k | } |
|
3538 | | |
3539 | | template <typename Range, typename T> |
3540 | | auto read_default_with_base(Range range, T& value, int base) |
3541 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3542 | 12.7k | { |
3543 | 12.7k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) |
3544 | 12.7k | .transform_error(make_eof_scan_error)); |
3545 | | |
3546 | 12.7k | if constexpr (!std::is_signed_v<T>) { |
3547 | 6.35k | if (prefix_result.sign == sign_type::minus_sign) { |
3548 | 0 | return detail::unexpected_scan_error( |
3549 | 0 | scan_error::invalid_scanned_value, |
3550 | 0 | "Unexpected '-' sign when parsing an " |
3551 | 0 | "unsigned value"); |
3552 | 0 | } |
3553 | 6.35k | } |
3554 | | |
3555 | 12.7k | if (prefix_result.is_zero) { |
3556 | 0 | value = T{0}; |
3557 | 0 | return std::next(prefix_result.iterator); |
3558 | 0 | } |
3559 | | |
3560 | 25.4k | SCN_TRY(after_digits_it, |
3561 | 25.4k | parse_integer_digits_without_thsep( |
3562 | 25.4k | ranges::subrange{prefix_result.iterator, range.end()}, |
3563 | 25.4k | prefix_result.parsed_base)); |
3564 | | |
3565 | 25.4k | auto buf = make_contiguous_buffer( |
3566 | 25.4k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3567 | 25.4k | SCN_TRY(result_it, |
3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3569 | 0 | prefix_result.parsed_base)); |
3570 | |
|
3571 | 0 | return ranges::next(prefix_result.iterator, |
3572 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3573 | 25.4k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 5.72k | { | 3543 | 5.72k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 5.72k | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | | if constexpr (!std::is_signed_v<T>) { | 3547 | | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | | return detail::unexpected_scan_error( | 3549 | | scan_error::invalid_scanned_value, | 3550 | | "Unexpected '-' sign when parsing an " | 3551 | | "unsigned value"); | 3552 | | } | 3553 | | } | 3554 | | | 3555 | 5.72k | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 11.4k | SCN_TRY(after_digits_it, | 3561 | 11.4k | parse_integer_digits_without_thsep( | 3562 | 11.4k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 11.4k | prefix_result.parsed_base)); | 3564 | | | 3565 | 11.4k | auto buf = make_contiguous_buffer( | 3566 | 11.4k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 11.4k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 11.4k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 5.72k | { | 3543 | 5.72k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 5.72k | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | 5.72k | if constexpr (!std::is_signed_v<T>) { | 3547 | 5.72k | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | 0 | return detail::unexpected_scan_error( | 3549 | 0 | scan_error::invalid_scanned_value, | 3550 | 0 | "Unexpected '-' sign when parsing an " | 3551 | 0 | "unsigned value"); | 3552 | 0 | } | 3553 | 5.72k | } | 3554 | | | 3555 | 5.72k | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 11.4k | SCN_TRY(after_digits_it, | 3561 | 11.4k | parse_integer_digits_without_thsep( | 3562 | 11.4k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 11.4k | prefix_result.parsed_base)); | 3564 | | | 3565 | 11.4k | auto buf = make_contiguous_buffer( | 3566 | 11.4k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 11.4k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 11.4k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 628 | { | 3543 | 628 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 628 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | | if constexpr (!std::is_signed_v<T>) { | 3547 | | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | | return detail::unexpected_scan_error( | 3549 | | scan_error::invalid_scanned_value, | 3550 | | "Unexpected '-' sign when parsing an " | 3551 | | "unsigned value"); | 3552 | | } | 3553 | | } | 3554 | | | 3555 | 628 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 1.25k | SCN_TRY(after_digits_it, | 3561 | 1.25k | parse_integer_digits_without_thsep( | 3562 | 1.25k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 1.25k | prefix_result.parsed_base)); | 3564 | | | 3565 | 1.25k | auto buf = make_contiguous_buffer( | 3566 | 1.25k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 1.25k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 1.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 628 | { | 3543 | 628 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 628 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | 628 | if constexpr (!std::is_signed_v<T>) { | 3547 | 628 | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | 0 | return detail::unexpected_scan_error( | 3549 | 0 | scan_error::invalid_scanned_value, | 3550 | 0 | "Unexpected '-' sign when parsing an " | 3551 | 0 | "unsigned value"); | 3552 | 0 | } | 3553 | 628 | } | 3554 | | | 3555 | 628 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 1.25k | SCN_TRY(after_digits_it, | 3561 | 1.25k | parse_integer_digits_without_thsep( | 3562 | 1.25k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 1.25k | prefix_result.parsed_base)); | 3564 | | | 3565 | 1.25k | auto buf = make_contiguous_buffer( | 3566 | 1.25k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 1.25k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 1.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i |
3574 | | |
3575 | | template <typename Range, typename T> |
3576 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
3577 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3578 | 12.7k | { |
3579 | 12.7k | SCN_UNUSED(loc); |
3580 | 12.7k | return read_default_with_base(range, value, 10); |
3581 | 12.7k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 628 | { | 3579 | 628 | SCN_UNUSED(loc); | 3580 | 628 | return read_default_with_base(range, value, 10); | 3581 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 628 | { | 3579 | 628 | SCN_UNUSED(loc); | 3580 | 628 | return read_default_with_base(range, value, 10); | 3581 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 5.72k | { | 3579 | 5.72k | SCN_UNUSED(loc); | 3580 | 5.72k | return read_default_with_base(range, value, 10); | 3581 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 5.72k | { | 3579 | 5.72k | SCN_UNUSED(loc); | 3580 | 5.72k | return read_default_with_base(range, value, 10); | 3581 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
3582 | | |
3583 | | template <typename Range, typename T> |
3584 | | auto read_specs(Range range, |
3585 | | const detail::format_specs& specs, |
3586 | | T& value, |
3587 | | detail::locale_ref loc) |
3588 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3589 | 9.72k | { |
3590 | 9.72k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) |
3591 | 9.72k | .transform_error(make_eof_scan_error)); |
3592 | | |
3593 | 9.72k | if (prefix_result.sign == sign_type::minus_sign) { |
3594 | 0 | if constexpr (!std::is_signed_v<T>) { |
3595 | 0 | return detail::unexpected_scan_error( |
3596 | 0 | scan_error::invalid_scanned_value, |
3597 | 0 | "Unexpected '-' sign when parsing an " |
3598 | 0 | "unsigned value"); |
3599 | | } |
3600 | 0 | else { |
3601 | 0 | if (specs.type == |
3602 | 0 | detail::presentation_type::int_unsigned_decimal) { |
3603 | 0 | return detail::unexpected_scan_error( |
3604 | 0 | scan_error::invalid_scanned_value, |
3605 | 0 | "'u'-option disallows negative values"); |
3606 | 0 | } |
3607 | 0 | } |
3608 | 0 | } |
3609 | | |
3610 | 9.72k | if (prefix_result.is_zero) { |
3611 | 0 | value = T{0}; |
3612 | 0 | return std::next(prefix_result.iterator); |
3613 | 0 | } |
3614 | | |
3615 | 9.72k | if (SCN_LIKELY(!specs.localized)) { |
3616 | 9.60k | SCN_TRY(after_digits_it, |
3617 | 8.18k | parse_integer_digits_without_thsep( |
3618 | 8.18k | ranges::subrange{prefix_result.iterator, range.end()}, |
3619 | 8.18k | prefix_result.parsed_base)); |
3620 | | |
3621 | 8.18k | auto buf = make_contiguous_buffer( |
3622 | 8.18k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3623 | 8.18k | SCN_TRY(result_it, |
3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3625 | 0 | prefix_result.parsed_base)); |
3626 | |
|
3627 | 0 | return ranges::next( |
3628 | 0 | prefix_result.iterator, |
3629 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3630 | 8.18k | } |
3631 | | |
3632 | 120 | auto locale_options = |
3633 | | #if SCN_DISABLE_LOCALE |
3634 | | localized_number_formatting_options<CharT>{}; |
3635 | | #else |
3636 | 120 | localized_number_formatting_options<CharT>{loc}; |
3637 | 120 | #endif |
3638 | | |
3639 | 120 | SCN_TRY(parse_digits_result, |
3640 | 0 | parse_integer_digits_with_thsep( |
3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, |
3642 | 0 | prefix_result.parsed_base, locale_options)); |
3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = |
3644 | 0 | parse_digits_result; |
3645 | |
|
3646 | 0 | auto nothsep_source_view = |
3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; |
3648 | 0 | SCN_TRY( |
3649 | 0 | nothsep_source_it, |
3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, |
3651 | 0 | prefix_result.parsed_base)); |
3652 | |
|
3653 | 0 | return ranges::next( |
3654 | 0 | prefix_result.iterator, |
3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + |
3656 | 0 | ranges::ssize(thsep_indices)); |
3657 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 36 | { | 3590 | 36 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 36 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 36 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 36 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 36 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 36 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 22 | { | 3590 | 22 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 22 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 22 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 22 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 22 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 22 | SCN_TRY(after_digits_it, | 3617 | 22 | parse_integer_digits_without_thsep( | 3618 | 22 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 22 | prefix_result.parsed_base)); | 3620 | | | 3621 | 22 | auto buf = make_contiguous_buffer( | 3622 | 22 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 22 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 22 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 342 | { | 3590 | 342 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 342 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 342 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 342 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 342 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 330 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 12 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 12 | localized_number_formatting_options<CharT>{loc}; | 3637 | 12 | #endif | 3638 | | | 3639 | 12 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 282 | { | 3590 | 282 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 282 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 282 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 282 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 282 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 272 | SCN_TRY(after_digits_it, | 3617 | 272 | parse_integer_digits_without_thsep( | 3618 | 272 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 272 | prefix_result.parsed_base)); | 3620 | | | 3621 | 272 | auto buf = make_contiguous_buffer( | 3622 | 272 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 272 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 272 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 342 | { | 3590 | 342 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 342 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 342 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 342 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 342 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 330 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 12 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 12 | localized_number_formatting_options<CharT>{loc}; | 3637 | 12 | #endif | 3638 | | | 3639 | 12 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 282 | { | 3590 | 282 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 282 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 282 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 282 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 282 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 272 | SCN_TRY(after_digits_it, | 3617 | 272 | parse_integer_digits_without_thsep( | 3618 | 272 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 272 | prefix_result.parsed_base)); | 3620 | | | 3621 | 272 | auto buf = make_contiguous_buffer( | 3622 | 272 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 272 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 272 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 304 | { | 3590 | 304 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 304 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 304 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 304 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 304 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 304 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 882 | { | 3590 | 882 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 882 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 882 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 882 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 882 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 882 | SCN_TRY(after_digits_it, | 3617 | 882 | parse_integer_digits_without_thsep( | 3618 | 882 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 882 | prefix_result.parsed_base)); | 3620 | | | 3621 | 882 | auto buf = make_contiguous_buffer( | 3622 | 882 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 882 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 882 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 178 | { | 3590 | 178 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 178 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 178 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 178 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 178 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 160 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 18 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 18 | localized_number_formatting_options<CharT>{loc}; | 3637 | 18 | #endif | 3638 | | | 3639 | 18 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 392 | { | 3590 | 392 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 392 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 392 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 392 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 392 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 372 | SCN_TRY(after_digits_it, | 3617 | 372 | parse_integer_digits_without_thsep( | 3618 | 372 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 372 | prefix_result.parsed_base)); | 3620 | | | 3621 | 372 | auto buf = make_contiguous_buffer( | 3622 | 372 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 372 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 372 | } | 3631 | | | 3632 | 20 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 20 | localized_number_formatting_options<CharT>{loc}; | 3637 | 20 | #endif | 3638 | | | 3639 | 20 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 158 | { | 3590 | 158 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 158 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 158 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 158 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 158 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 140 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 18 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 18 | localized_number_formatting_options<CharT>{loc}; | 3637 | 18 | #endif | 3638 | | | 3639 | 18 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 356 | { | 3590 | 356 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 356 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 356 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 356 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 356 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 336 | SCN_TRY(after_digits_it, | 3617 | 336 | parse_integer_digits_without_thsep( | 3618 | 336 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 336 | prefix_result.parsed_base)); | 3620 | | | 3621 | 336 | auto buf = make_contiguous_buffer( | 3622 | 336 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 336 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 336 | } | 3631 | | | 3632 | 20 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 20 | localized_number_formatting_options<CharT>{loc}; | 3637 | 20 | #endif | 3638 | | | 3639 | 20 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 124 | { | 3590 | 124 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 124 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 124 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 124 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 124 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 124 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 6.02k | { | 3590 | 6.02k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 6.02k | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 6.02k | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 6.02k | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 6.02k | if (SCN_LIKELY(!specs.localized)) { | 3616 | 6.02k | SCN_TRY(after_digits_it, | 3617 | 6.02k | parse_integer_digits_without_thsep( | 3618 | 6.02k | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 6.02k | prefix_result.parsed_base)); | 3620 | | | 3621 | 6.02k | auto buf = make_contiguous_buffer( | 3622 | 6.02k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 6.02k | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 6.02k | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
3658 | | }; |
3659 | | |
3660 | | ///////////////////////////////////////////////////////////////// |
3661 | | // Floating-point reader |
3662 | | ///////////////////////////////////////////////////////////////// |
3663 | | |
3664 | | struct float_reader_base { |
3665 | | enum options_type { |
3666 | | allow_hex = 1, |
3667 | | allow_scientific = 2, |
3668 | | allow_fixed = 4, |
3669 | | allow_thsep = 8 |
3670 | | }; |
3671 | | |
3672 | | enum class float_kind { |
3673 | | tbd = 0, |
3674 | | generic, // fixed or scientific |
3675 | | fixed, // xxx.yyy |
3676 | | scientific, // xxx.yyyEzzz |
3677 | | hex_without_prefix, // xxx.yyypzzz |
3678 | | hex_with_prefix, // 0Xxxx.yyypzzz |
3679 | | inf_short, // inf |
3680 | | inf_long, // infinity |
3681 | | nan_simple, // nan |
3682 | | nan_with_payload, // nan(xxx) |
3683 | | }; |
3684 | | |
3685 | 6.35k | constexpr float_reader_base() = default; |
3686 | 1.11k | explicit constexpr float_reader_base(unsigned opt) : m_options(opt) {} |
3687 | | |
3688 | | protected: |
3689 | | unsigned m_options{allow_hex | allow_scientific | allow_fixed}; |
3690 | | }; |
3691 | | |
3692 | | template <typename CharT> |
3693 | | class float_reader : public numeric_reader<CharT>, public float_reader_base { |
3694 | | using numeric_base = numeric_reader<CharT>; |
3695 | | |
3696 | | public: |
3697 | | using char_type = CharT; |
3698 | | |
3699 | 6.35k | constexpr float_reader() = default; scn::v4::impl::float_reader<char>::float_reader() Line | Count | Source | 3699 | 628 | constexpr float_reader() = default; |
scn::v4::impl::float_reader<wchar_t>::float_reader() Line | Count | Source | 3699 | 5.72k | constexpr float_reader() = default; |
|
3700 | | |
3701 | 1.11k | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {}scn::v4::impl::float_reader<char>::float_reader(unsigned int) Line | Count | Source | 3701 | 636 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
scn::v4::impl::float_reader<wchar_t>::float_reader(unsigned int) Line | Count | Source | 3701 | 480 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
|
3702 | | |
3703 | | template <typename Range> |
3704 | | SCN_NODISCARD auto read_source(Range range, detail::locale_ref) |
3705 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3706 | 7.43k | { |
3707 | 7.43k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { |
3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ |
3709 | 0 | classic_with_thsep_tag{}}; |
3710 | 0 | } |
3711 | | |
3712 | 7.43k | return read_source_impl(range); |
3713 | 7.43k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3706 | 340 | { | 3707 | 340 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 340 | return read_source_impl(range); | 3713 | 340 | } |
_ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3706 | 906 | { | 3707 | 906 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 906 | return read_source_impl(range); | 3713 | 906 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3706 | 134 | { | 3707 | 134 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 134 | return read_source_impl(range); | 3713 | 134 | } |
_ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3706 | 6.05k | { | 3707 | 6.05k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 6.05k | return read_source_impl(range); | 3713 | 6.05k | } |
|
3714 | | |
3715 | | #if !SCN_DISABLE_LOCALE |
3716 | | template <typename Range> |
3717 | | SCN_NODISCARD auto read_source_localized(Range range, |
3718 | | detail::locale_ref loc) |
3719 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3720 | 38 | { |
3721 | 38 | m_locale_options = localized_number_formatting_options<CharT>{loc}; |
3722 | 38 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { |
3723 | 0 | m_locale_options.thousands_sep = CharT{0}; |
3724 | 0 | } |
3725 | | |
3726 | 38 | return read_source_impl(range); |
3727 | 38 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3720 | 12 | { | 3721 | 12 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 12 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 12 | return read_source_impl(range); | 3727 | 12 | } |
_ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3720 | 6 | { | 3721 | 6 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 6 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 6 | return read_source_impl(range); | 3727 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3720 | 8 | { | 3721 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 8 | return read_source_impl(range); | 3727 | 8 | } |
_ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3720 | 12 | { | 3721 | 12 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 12 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 12 | return read_source_impl(range); | 3727 | 12 | } |
|
3728 | | #endif |
3729 | | |
3730 | | template <typename T> |
3731 | | SCN_NODISCARD scan_expected<std::ptrdiff_t> parse_value(T& value) |
3732 | 6.94k | { |
3733 | 6.94k | SCN_EXPECT(m_kind != float_kind::tbd); |
3734 | | |
3735 | 6.94k | const std::ptrdiff_t sign_len = |
3736 | 6.94k | m_sign != sign_type::default_sign ? 1 : 0; |
3737 | | |
3738 | 6.94k | SCN_TRY(n, parse_value_impl(value)); |
3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); |
3740 | 6.94k | } Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<double>(double&) Line | Count | Source | 3732 | 890 | { | 3733 | 890 | SCN_EXPECT(m_kind != float_kind::tbd); | 3734 | | | 3735 | 890 | const std::ptrdiff_t sign_len = | 3736 | 890 | m_sign != sign_type::default_sign ? 1 : 0; | 3737 | | | 3738 | 890 | SCN_TRY(n, parse_value_impl(value)); | 3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3740 | 890 | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<double>(double&) Line | Count | Source | 3732 | 6.05k | { | 3733 | 6.05k | SCN_EXPECT(m_kind != float_kind::tbd); | 3734 | | | 3735 | 6.05k | const std::ptrdiff_t sign_len = | 3736 | 6.05k | m_sign != sign_type::default_sign ? 1 : 0; | 3737 | | | 3738 | 6.05k | SCN_TRY(n, parse_value_impl(value)); | 3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3740 | 6.05k | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<long double>(long double&) |
3741 | | |
3742 | | private: |
3743 | | template <typename Range> |
3744 | | auto read_source_impl(Range range) |
3745 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3746 | 7.46k | { |
3747 | 7.46k | SCN_TRY(sign_result, |
3748 | 7.46k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); |
3749 | 7.46k | auto it = sign_result.first; |
3750 | 7.46k | m_sign = sign_result.second; |
3751 | | |
3752 | 7.46k | auto digits_begin = it; |
3753 | 7.46k | auto r = ranges::subrange{it, range.end()}; |
3754 | | if constexpr (ranges::contiguous_range<Range> && |
3755 | 6.97k | ranges::sized_range<Range>) { |
3756 | 6.97k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || |
3757 | 6.97k | m_locale_options.decimal_point != CharT{'.'})) { |
3758 | 0 | SCN_TRY_ASSIGN( |
3759 | 0 | it, |
3760 | 0 | do_read_source_impl( |
3761 | 0 | r, |
3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, |
3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3764 | 0 | } |
3765 | 6.97k | else { |
3766 | 6.97k | auto cb = [&](const auto& rr) |
3767 | 6.97k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { |
3768 | 6.94k | auto res = read_all(rr); |
3769 | 6.94k | if (SCN_UNLIKELY(res == r.begin())) { |
3770 | 0 | return detail::unexpected_scan_error( |
3771 | 0 | scan_error::invalid_scanned_value, |
3772 | 0 | "Invalid float value"); |
3773 | 0 | } |
3774 | 6.94k | return res; |
3775 | 6.94k | }; _ZZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3767 | 890 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 890 | auto res = read_all(rr); | 3769 | 890 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 0 | return detail::unexpected_scan_error( | 3771 | 0 | scan_error::invalid_scanned_value, | 3772 | 0 | "Invalid float value"); | 3773 | 0 | } | 3774 | 890 | return res; | 3775 | 890 | }; |
_ZZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3767 | 6.05k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 6.05k | auto res = read_all(rr); | 3769 | 6.05k | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 0 | return detail::unexpected_scan_error( | 3771 | 0 | scan_error::invalid_scanned_value, | 3772 | 0 | "Invalid float value"); | 3773 | 0 | } | 3774 | 6.05k | return res; | 3775 | 6.05k | }; |
|
3776 | 6.97k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); |
3777 | 6.94k | } |
3778 | | } |
3779 | 494 | else { |
3780 | 494 | SCN_TRY_ASSIGN( |
3781 | 0 | it, |
3782 | 0 | do_read_source_impl( |
3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, |
3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3785 | 0 | } |
3786 | | |
3787 | 7.46k | SCN_EXPECT(m_kind != float_kind::tbd); |
3788 | | |
3789 | 6.94k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && |
3790 | 6.94k | m_kind != float_kind::nan_simple && |
3791 | 6.94k | m_kind != float_kind::nan_with_payload) { |
3792 | 6.94k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); |
3793 | 6.94k | } |
3794 | | |
3795 | 6.94k | handle_separators(); |
3796 | | |
3797 | 6.94k | return it; |
3798 | 7.46k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3746 | 352 | { | 3747 | 352 | SCN_TRY(sign_result, | 3748 | 352 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 352 | auto it = sign_result.first; | 3750 | 352 | m_sign = sign_result.second; | 3751 | | | 3752 | 352 | auto digits_begin = it; | 3753 | 352 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | | ranges::sized_range<Range>) { | 3756 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | | SCN_TRY_ASSIGN( | 3759 | | it, | 3760 | | do_read_source_impl( | 3761 | | r, | 3762 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | | } | 3765 | | else { | 3766 | | auto cb = [&](const auto& rr) | 3767 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | | auto res = read_all(rr); | 3769 | | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | | return detail::unexpected_scan_error( | 3771 | | scan_error::invalid_scanned_value, | 3772 | | "Invalid float value"); | 3773 | | } | 3774 | | return res; | 3775 | | }; | 3776 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | | } | 3778 | | } | 3779 | 352 | else { | 3780 | 352 | SCN_TRY_ASSIGN( | 3781 | 0 | it, | 3782 | 0 | do_read_source_impl( | 3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | 0 | } | 3786 | | | 3787 | 352 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 0 | m_kind != float_kind::nan_simple && | 3791 | 0 | m_kind != float_kind::nan_with_payload) { | 3792 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 0 | } | 3794 | |
| 3795 | 0 | handle_separators(); | 3796 | |
| 3797 | 0 | return it; | 3798 | 352 | } |
_ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3746 | 912 | { | 3747 | 912 | SCN_TRY(sign_result, | 3748 | 912 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 912 | auto it = sign_result.first; | 3750 | 912 | m_sign = sign_result.second; | 3751 | | | 3752 | 912 | auto digits_begin = it; | 3753 | 912 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | 912 | ranges::sized_range<Range>) { | 3756 | 912 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | 912 | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | 0 | SCN_TRY_ASSIGN( | 3759 | 0 | it, | 3760 | 0 | do_read_source_impl( | 3761 | 0 | r, | 3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | 0 | } | 3765 | 912 | else { | 3766 | 912 | auto cb = [&](const auto& rr) | 3767 | 912 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 912 | auto res = read_all(rr); | 3769 | 912 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 912 | return detail::unexpected_scan_error( | 3771 | 912 | scan_error::invalid_scanned_value, | 3772 | 912 | "Invalid float value"); | 3773 | 912 | } | 3774 | 912 | return res; | 3775 | 912 | }; | 3776 | 912 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | 890 | } | 3778 | | } | 3779 | | else { | 3780 | | SCN_TRY_ASSIGN( | 3781 | | it, | 3782 | | do_read_source_impl( | 3783 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | | } | 3786 | | | 3787 | 912 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 890 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 890 | m_kind != float_kind::nan_simple && | 3791 | 890 | m_kind != float_kind::nan_with_payload) { | 3792 | 890 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 890 | } | 3794 | | | 3795 | 890 | handle_separators(); | 3796 | | | 3797 | 890 | return it; | 3798 | 912 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3746 | 142 | { | 3747 | 142 | SCN_TRY(sign_result, | 3748 | 142 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 142 | auto it = sign_result.first; | 3750 | 142 | m_sign = sign_result.second; | 3751 | | | 3752 | 142 | auto digits_begin = it; | 3753 | 142 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | | ranges::sized_range<Range>) { | 3756 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | | SCN_TRY_ASSIGN( | 3759 | | it, | 3760 | | do_read_source_impl( | 3761 | | r, | 3762 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | | } | 3765 | | else { | 3766 | | auto cb = [&](const auto& rr) | 3767 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | | auto res = read_all(rr); | 3769 | | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | | return detail::unexpected_scan_error( | 3771 | | scan_error::invalid_scanned_value, | 3772 | | "Invalid float value"); | 3773 | | } | 3774 | | return res; | 3775 | | }; | 3776 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | | } | 3778 | | } | 3779 | 142 | else { | 3780 | 142 | SCN_TRY_ASSIGN( | 3781 | 0 | it, | 3782 | 0 | do_read_source_impl( | 3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | 0 | } | 3786 | | | 3787 | 142 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 0 | m_kind != float_kind::nan_simple && | 3791 | 0 | m_kind != float_kind::nan_with_payload) { | 3792 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 0 | } | 3794 | |
| 3795 | 0 | handle_separators(); | 3796 | |
| 3797 | 0 | return it; | 3798 | 142 | } |
_ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3746 | 6.06k | { | 3747 | 6.06k | SCN_TRY(sign_result, | 3748 | 6.06k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 6.06k | auto it = sign_result.first; | 3750 | 6.06k | m_sign = sign_result.second; | 3751 | | | 3752 | 6.06k | auto digits_begin = it; | 3753 | 6.06k | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | 6.06k | ranges::sized_range<Range>) { | 3756 | 6.06k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | 6.06k | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | 0 | SCN_TRY_ASSIGN( | 3759 | 0 | it, | 3760 | 0 | do_read_source_impl( | 3761 | 0 | r, | 3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | 0 | } | 3765 | 6.06k | else { | 3766 | 6.06k | auto cb = [&](const auto& rr) | 3767 | 6.06k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 6.06k | auto res = read_all(rr); | 3769 | 6.06k | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 6.06k | return detail::unexpected_scan_error( | 3771 | 6.06k | scan_error::invalid_scanned_value, | 3772 | 6.06k | "Invalid float value"); | 3773 | 6.06k | } | 3774 | 6.06k | return res; | 3775 | 6.06k | }; | 3776 | 6.06k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | 6.05k | } | 3778 | | } | 3779 | | else { | 3780 | | SCN_TRY_ASSIGN( | 3781 | | it, | 3782 | | do_read_source_impl( | 3783 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | | } | 3786 | | | 3787 | 6.06k | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 6.05k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 6.05k | m_kind != float_kind::nan_simple && | 3791 | 6.05k | m_kind != float_kind::nan_with_payload) { | 3792 | 6.05k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 6.05k | } | 3794 | | | 3795 | 6.05k | handle_separators(); | 3796 | | | 3797 | 6.05k | return it; | 3798 | 6.06k | } |
|
3799 | | |
3800 | | template <typename Range> |
3801 | | auto read_dec_digits(Range range, bool thsep_allowed) |
3802 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3803 | 514 | { |
3804 | 514 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3805 | 514 | thsep_allowed)) { |
3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3807 | 0 | return char_to_int(ch) < 10 || |
3808 | 0 | ch == m_locale_options.thousands_sep; |
3809 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3810 | 0 | } |
3811 | | |
3812 | 514 | return read_while1_code_unit( |
3813 | 514 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3813 | 344 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Line | Count | Source | 3813 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3813 | 136 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw Line | Count | Source | 3813 | 12 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
|
3814 | 514 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3803 | 344 | { | 3804 | 344 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 344 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 344 | return read_while1_code_unit( | 3813 | 344 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 344 | } |
_ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3803 | 22 | { | 3804 | 22 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 22 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 22 | return read_while1_code_unit( | 3813 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3803 | 136 | { | 3804 | 136 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 136 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 136 | return read_while1_code_unit( | 3813 | 136 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 136 | } |
_ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3803 | 12 | { | 3804 | 12 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 12 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 12 | return read_while1_code_unit( | 3813 | 12 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 12 | } |
|
3815 | | template <typename Range> |
3816 | | auto read_hex_digits(Range range, bool thsep_allowed) |
3817 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3818 | 14 | { |
3819 | 14 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3820 | 14 | thsep_allowed)) { |
3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3822 | 0 | return char_to_int(ch) < 16 || |
3823 | 0 | ch == m_locale_options.thousands_sep; |
3824 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3825 | 0 | } |
3826 | | |
3827 | 14 | return read_while1_code_unit( |
3828 | 14 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3828 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw |
3829 | 14 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3818 | 8 | { | 3819 | 8 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3820 | 8 | thsep_allowed)) { | 3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3822 | 0 | return char_to_int(ch) < 16 || | 3823 | 0 | ch == m_locale_options.thousands_sep; | 3824 | 0 | }); | 3825 | 0 | } | 3826 | | | 3827 | 8 | return read_while1_code_unit( | 3828 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3829 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3818 | 6 | { | 3819 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3820 | 6 | thsep_allowed)) { | 3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3822 | 0 | return char_to_int(ch) < 16 || | 3823 | 0 | ch == m_locale_options.thousands_sep; | 3824 | 0 | }); | 3825 | 0 | } | 3826 | | | 3827 | 6 | return read_while1_code_unit( | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3829 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b |
3830 | | template <typename Range> |
3831 | | auto read_hex_prefix(Range range) |
3832 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3833 | 7.39k | { |
3834 | 7.39k | return read_matching_string_classic_nocase(range, "0x"); |
3835 | 7.39k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3833 | 322 | { | 3834 | 322 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 322 | } |
_ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3833 | 890 | { | 3834 | 890 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 890 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3833 | 134 | { | 3834 | 134 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 134 | } |
_ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3833 | 6.05k | { | 3834 | 6.05k | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 6.05k | } |
|
3836 | | |
3837 | | template <typename Range> |
3838 | | auto read_inf(Range range) |
3839 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3840 | 7.46k | { |
3841 | 7.46k | auto it = range.begin(); |
3842 | 7.46k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { |
3843 | 7.46k | return unexpected(r.error()); |
3844 | 7.46k | } |
3845 | 0 | else { |
3846 | 0 | it = *r; |
3847 | 0 | } |
3848 | | |
3849 | 0 | if (auto r = read_matching_string_classic_nocase( |
3850 | 0 | ranges::subrange{it, range.end()}, "inity"); |
3851 | 0 | !r) { |
3852 | 0 | m_kind = float_kind::inf_short; |
3853 | 0 | return it; |
3854 | 0 | } |
3855 | 0 | else { |
3856 | 0 | m_kind = float_kind::inf_long; |
3857 | 0 | return *r; |
3858 | 0 | } |
3859 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3840 | 352 | { | 3841 | 352 | auto it = range.begin(); | 3842 | 352 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 352 | return unexpected(r.error()); | 3844 | 352 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3840 | 912 | { | 3841 | 912 | auto it = range.begin(); | 3842 | 912 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 912 | return unexpected(r.error()); | 3844 | 912 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3840 | 142 | { | 3841 | 142 | auto it = range.begin(); | 3842 | 142 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 142 | return unexpected(r.error()); | 3844 | 142 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3840 | 6.06k | { | 3841 | 6.06k | auto it = range.begin(); | 3842 | 6.06k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 6.06k | return unexpected(r.error()); | 3844 | 6.06k | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
|
3860 | | |
3861 | | template <typename Range> |
3862 | | auto read_nan(Range range) -> scan_expected<ranges::const_iterator_t<Range>> |
3863 | 7.46k | { |
3864 | 7.46k | auto it = range.begin(); |
3865 | 7.46k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { |
3866 | 7.46k | return r.transform_error(map_parse_error_to_scan_error( |
3867 | 7.46k | scan_error::invalid_scanned_value, |
3868 | 7.46k | "Invalid floating-point NaN value")); |
3869 | 7.46k | } |
3870 | 0 | else { |
3871 | 0 | it = *r; |
3872 | 0 | } |
3873 | | |
3874 | 0 | if (auto r = |
3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); |
3876 | 0 | !r) { |
3877 | 0 | m_kind = float_kind::nan_simple; |
3878 | 0 | return it; |
3879 | 0 | } |
3880 | 0 | else { |
3881 | 0 | it = *r; |
3882 | 0 | } |
3883 | | |
3884 | 0 | auto payload_beg_it = it; |
3885 | 0 | it = read_while_code_unit( |
3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { |
3887 | 0 | return is_ascii_char(ch) && |
3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || |
3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); |
3890 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlwE_clEw |
3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); |
3892 | |
|
3893 | 0 | m_kind = float_kind::nan_with_payload; |
3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3895 | 0 | ')')) { |
3896 | 0 | return *r; |
3897 | 0 | } |
3898 | 0 | return detail::unexpected_scan_error( |
3899 | 0 | scan_error::invalid_scanned_value, |
3900 | 0 | "Invalid floating-point NaN payload"); |
3901 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3863 | 352 | { | 3864 | 352 | auto it = range.begin(); | 3865 | 352 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 352 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 352 | scan_error::invalid_scanned_value, | 3868 | 352 | "Invalid floating-point NaN value")); | 3869 | 352 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3863 | 912 | { | 3864 | 912 | auto it = range.begin(); | 3865 | 912 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 912 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 912 | scan_error::invalid_scanned_value, | 3868 | 912 | "Invalid floating-point NaN value")); | 3869 | 912 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3863 | 142 | { | 3864 | 142 | auto it = range.begin(); | 3865 | 142 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 142 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 142 | scan_error::invalid_scanned_value, | 3868 | 142 | "Invalid floating-point NaN value")); | 3869 | 142 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3863 | 6.06k | { | 3864 | 6.06k | auto it = range.begin(); | 3865 | 6.06k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 6.06k | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 6.06k | scan_error::invalid_scanned_value, | 3868 | 6.06k | "Invalid floating-point NaN value")); | 3869 | 6.06k | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
|
3902 | | |
3903 | | template <typename Range> |
3904 | | auto read_exponent(Range range, std::string_view exp) |
3905 | | -> ranges::const_iterator_t<Range> |
3906 | 0 | { |
3907 | 0 | if (auto r = read_one_of_code_unit(range, exp)) { |
3908 | 0 | auto beg_exp_it = range.begin(); |
3909 | 0 | auto it = *r; |
3910 | |
|
3911 | 0 | if (auto r_sign = |
3912 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { |
3913 | 0 | it = r_sign->first; |
3914 | 0 | } |
3915 | |
|
3916 | 0 | if (auto r_exp = read_while1_code_unit( |
3917 | 0 | ranges::subrange{it, range.end()}, |
3918 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlwE_clEw |
3919 | 0 | SCN_UNLIKELY(!r_exp)) { |
3920 | 0 | it = beg_exp_it; |
3921 | 0 | } |
3922 | 0 | else { |
3923 | 0 | it = *r_exp; |
3924 | 0 | } |
3925 | |
|
3926 | 0 | return it; |
3927 | 0 | } |
3928 | 0 | return range.begin(); |
3929 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE |
3930 | | |
3931 | | template <typename Range> |
3932 | | auto read_hexfloat(Range range) |
3933 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3934 | 14 | { |
3935 | 14 | auto it = range.begin(); |
3936 | | |
3937 | 14 | std::ptrdiff_t digits_count = 0; |
3938 | 14 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); |
3939 | 14 | SCN_UNLIKELY(!r)) { |
3940 | 14 | return r.transform_error(map_parse_error_to_scan_error( |
3941 | 14 | scan_error::invalid_scanned_value, |
3942 | 14 | "Invalid hexadecimal floating-point value")); |
3943 | 14 | } |
3944 | 0 | else { |
3945 | 0 | digits_count += ranges::distance(it, *r); |
3946 | 0 | it = *r; |
3947 | 0 | } |
3948 | | |
3949 | 0 | m_integral_part_length = digits_count; |
3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3951 | 0 | m_locale_options.decimal_point)) { |
3952 | 0 | it = *r; |
3953 | 0 | } |
3954 | |
|
3955 | 0 | if (auto r = |
3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { |
3957 | 0 | digits_count += ranges::distance(it, *r); |
3958 | 0 | it = *r; |
3959 | 0 | } |
3960 | |
|
3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3962 | 0 | return detail::unexpected_scan_error( |
3963 | 0 | scan_error::invalid_scanned_value, |
3964 | 0 | "No significand digits in hexfloat"); |
3965 | 0 | } |
3966 | | |
3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); |
3968 | |
|
3969 | 0 | return it; |
3970 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3934 | 8 | { | 3935 | 8 | auto it = range.begin(); | 3936 | | | 3937 | 8 | std::ptrdiff_t digits_count = 0; | 3938 | 8 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3939 | 8 | SCN_UNLIKELY(!r)) { | 3940 | 8 | return r.transform_error(map_parse_error_to_scan_error( | 3941 | 8 | scan_error::invalid_scanned_value, | 3942 | 8 | "Invalid hexadecimal floating-point value")); | 3943 | 8 | } | 3944 | 0 | else { | 3945 | 0 | digits_count += ranges::distance(it, *r); | 3946 | 0 | it = *r; | 3947 | 0 | } | 3948 | | | 3949 | 0 | m_integral_part_length = digits_count; | 3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3951 | 0 | m_locale_options.decimal_point)) { | 3952 | 0 | it = *r; | 3953 | 0 | } | 3954 | |
| 3955 | 0 | if (auto r = | 3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3957 | 0 | digits_count += ranges::distance(it, *r); | 3958 | 0 | it = *r; | 3959 | 0 | } | 3960 | |
| 3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3962 | 0 | return detail::unexpected_scan_error( | 3963 | 0 | scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in hexfloat"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3968 | |
| 3969 | 0 | return it; | 3970 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3934 | 6 | { | 3935 | 6 | auto it = range.begin(); | 3936 | | | 3937 | 6 | std::ptrdiff_t digits_count = 0; | 3938 | 6 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3939 | 6 | SCN_UNLIKELY(!r)) { | 3940 | 6 | return r.transform_error(map_parse_error_to_scan_error( | 3941 | 6 | scan_error::invalid_scanned_value, | 3942 | 6 | "Invalid hexadecimal floating-point value")); | 3943 | 6 | } | 3944 | 0 | else { | 3945 | 0 | digits_count += ranges::distance(it, *r); | 3946 | 0 | it = *r; | 3947 | 0 | } | 3948 | | | 3949 | 0 | m_integral_part_length = digits_count; | 3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3951 | 0 | m_locale_options.decimal_point)) { | 3952 | 0 | it = *r; | 3953 | 0 | } | 3954 | |
| 3955 | 0 | if (auto r = | 3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3957 | 0 | digits_count += ranges::distance(it, *r); | 3958 | 0 | it = *r; | 3959 | 0 | } | 3960 | |
| 3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3962 | 0 | return detail::unexpected_scan_error( | 3963 | 0 | scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in hexfloat"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3968 | |
| 3969 | 0 | return it; | 3970 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ |
3971 | | |
3972 | | template <typename Range> |
3973 | | auto read_regular_float(Range range) |
3974 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3975 | 514 | { |
3976 | 514 | const bool allowed_exp = (m_options & allow_scientific) != 0; |
3977 | 514 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; |
3978 | | |
3979 | 514 | auto it = ranges::begin(range); |
3980 | 514 | std::ptrdiff_t digits_count = 0; |
3981 | | |
3982 | 514 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); |
3983 | 514 | SCN_UNLIKELY(!r)) { |
3984 | 514 | return r.transform_error( |
3985 | 514 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, |
3986 | 514 | "Invalid floating-point value")); |
3987 | 514 | } |
3988 | 0 | else { |
3989 | 0 | digits_count += ranges::distance(it, *r); |
3990 | 0 | it = *r; |
3991 | 0 | } |
3992 | | |
3993 | 0 | m_integral_part_length = digits_count; |
3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3995 | 0 | m_locale_options.decimal_point)) { |
3996 | 0 | it = *r; |
3997 | 0 | } |
3998 | |
|
3999 | 0 | if (auto r = |
4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { |
4001 | 0 | digits_count += ranges::distance(it, *r); |
4002 | 0 | it = *r; |
4003 | 0 | } |
4004 | |
|
4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
4006 | 0 | return detail::unexpected_scan_error( |
4007 | 0 | scan_error::invalid_scanned_value, |
4008 | 0 | "No significand digits in float"); |
4009 | 0 | } |
4010 | | |
4011 | 0 | auto beg_exp_it = it; |
4012 | 0 | if (allowed_exp) { |
4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); |
4014 | 0 | } |
4015 | 0 | if (required_exp && beg_exp_it == it) { |
4016 | 0 | return detail::unexpected_scan_error( |
4017 | 0 | scan_error::invalid_scanned_value, |
4018 | 0 | "No exponent given to scientific float"); |
4019 | 0 | } |
4020 | | |
4021 | 0 | m_kind = |
4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; |
4023 | |
|
4024 | 0 | return it; |
4025 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3975 | 344 | { | 3976 | 344 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 344 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 344 | auto it = ranges::begin(range); | 3980 | 344 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 344 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 344 | SCN_UNLIKELY(!r)) { | 3984 | 344 | return r.transform_error( | 3985 | 344 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 344 | "Invalid floating-point value")); | 3987 | 344 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
_ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3975 | 22 | { | 3976 | 22 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 22 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 22 | auto it = ranges::begin(range); | 3980 | 22 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 22 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 22 | SCN_UNLIKELY(!r)) { | 3984 | 22 | return r.transform_error( | 3985 | 22 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 22 | "Invalid floating-point value")); | 3987 | 22 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3975 | 136 | { | 3976 | 136 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 136 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 136 | auto it = ranges::begin(range); | 3980 | 136 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 136 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 136 | SCN_UNLIKELY(!r)) { | 3984 | 136 | return r.transform_error( | 3985 | 136 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 136 | "Invalid floating-point value")); | 3987 | 136 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
_ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3975 | 12 | { | 3976 | 12 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 12 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 12 | auto it = ranges::begin(range); | 3980 | 12 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 12 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 12 | SCN_UNLIKELY(!r)) { | 3984 | 12 | return r.transform_error( | 3985 | 12 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 12 | "Invalid floating-point value")); | 3987 | 12 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
|
4026 | | |
4027 | | template <typename Range, typename ReadRegular, typename ReadHex> |
4028 | | auto do_read_source_impl(Range range, |
4029 | | ReadRegular&& read_regular, |
4030 | | ReadHex&& read_hex) |
4031 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4032 | 7.46k | { |
4033 | 7.46k | const bool allowed_hex = (m_options & allow_hex) != 0; |
4034 | 7.46k | const bool allowed_nonhex = |
4035 | 7.46k | (m_options & ~static_cast<unsigned>(allow_thsep) & |
4036 | 7.46k | ~static_cast<unsigned>(allow_hex)) != 0; |
4037 | | |
4038 | 7.46k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { |
4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( |
4040 | 0 | scan_error::invalid_scanned_value, |
4041 | 0 | "Invalid infinite floating-point value")); |
4042 | 0 | } |
4043 | 7.46k | else if (r) { |
4044 | 0 | return *r; |
4045 | 0 | } |
4046 | | |
4047 | 7.46k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { |
4048 | 0 | return unexpected(r.error()); |
4049 | 0 | } |
4050 | 7.46k | else if (r) { |
4051 | 0 | return *r; |
4052 | 0 | } |
4053 | | |
4054 | 7.46k | if (allowed_hex && !allowed_nonhex) { |
4055 | | // only hex allowed: |
4056 | | // prefix "0x" allowed, not required |
4057 | 38 | auto it = range.begin(); |
4058 | | |
4059 | 38 | if (auto r = read_hex_prefix(range)) { |
4060 | 0 | m_kind = float_kind::hex_with_prefix; |
4061 | 0 | it = *r; |
4062 | 0 | } |
4063 | 38 | else { |
4064 | 38 | m_kind = float_kind::hex_without_prefix; |
4065 | 38 | } |
4066 | | |
4067 | 38 | return read_hex(ranges::subrange{it, range.end()}); |
4068 | 38 | } |
4069 | 7.43k | if (!allowed_hex && allowed_nonhex) { |
4070 | | // only nonhex allowed: |
4071 | | // no prefix allowed |
4072 | 72 | m_kind = float_kind::generic; |
4073 | 72 | return read_regular_float(range); |
4074 | 72 | } |
4075 | | // both hex and nonhex allowed: |
4076 | | // check for "0x" prefix -> hex, |
4077 | | // regular otherwise |
4078 | | |
4079 | 7.35k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { |
4080 | 0 | m_kind = float_kind::hex_with_prefix; |
4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); |
4082 | 0 | } |
4083 | | |
4084 | 7.35k | m_kind = float_kind::generic; |
4085 | 7.35k | return read_regular(range); |
4086 | 7.35k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4032 | 352 | { | 4033 | 352 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 352 | const bool allowed_nonhex = | 4035 | 352 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 352 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 352 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 352 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 352 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 352 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 352 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 8 | auto it = range.begin(); | 4058 | | | 4059 | 8 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 8 | else { | 4064 | 8 | m_kind = float_kind::hex_without_prefix; | 4065 | 8 | } | 4066 | | | 4067 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 8 | } | 4069 | 344 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 30 | m_kind = float_kind::generic; | 4073 | 30 | return read_regular_float(range); | 4074 | 30 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 314 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 314 | m_kind = float_kind::generic; | 4085 | 314 | return read_regular(range); | 4086 | 314 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4032 | 912 | { | 4033 | 912 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 912 | const bool allowed_nonhex = | 4035 | 912 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 912 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 912 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 912 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 912 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 912 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 912 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 8 | auto it = range.begin(); | 4058 | | | 4059 | 8 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 8 | else { | 4064 | 8 | m_kind = float_kind::hex_without_prefix; | 4065 | 8 | } | 4066 | | | 4067 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 8 | } | 4069 | 904 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 22 | m_kind = float_kind::generic; | 4073 | 22 | return read_regular_float(range); | 4074 | 22 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 882 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 882 | m_kind = float_kind::generic; | 4085 | 882 | return read_regular(range); | 4086 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4032 | 142 | { | 4033 | 142 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 142 | const bool allowed_nonhex = | 4035 | 142 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 142 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 142 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 142 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 142 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 142 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 142 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 6 | auto it = range.begin(); | 4058 | | | 4059 | 6 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 6 | else { | 4064 | 6 | m_kind = float_kind::hex_without_prefix; | 4065 | 6 | } | 4066 | | | 4067 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 6 | } | 4069 | 136 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 8 | m_kind = float_kind::generic; | 4073 | 8 | return read_regular_float(range); | 4074 | 8 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 128 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 128 | m_kind = float_kind::generic; | 4085 | 128 | return read_regular(range); | 4086 | 128 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4032 | 6.06k | { | 4033 | 6.06k | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 6.06k | const bool allowed_nonhex = | 4035 | 6.06k | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 6.06k | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 6.06k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 6.06k | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 6.06k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 6.06k | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 6.06k | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 16 | auto it = range.begin(); | 4058 | | | 4059 | 16 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 16 | else { | 4064 | 16 | m_kind = float_kind::hex_without_prefix; | 4065 | 16 | } | 4066 | | | 4067 | 16 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 16 | } | 4069 | 6.04k | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 12 | m_kind = float_kind::generic; | 4073 | 12 | return read_regular_float(range); | 4074 | 12 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 6.03k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 6.03k | m_kind = float_kind::generic; | 4085 | 6.03k | return read_regular(range); | 4086 | 6.03k | } |
|
4087 | | |
4088 | | void handle_separators() |
4089 | 6.94k | { |
4090 | 6.94k | if (m_locale_options.thousands_sep == 0 && |
4091 | 6.94k | m_locale_options.decimal_point == CharT{'.'}) { |
4092 | 6.94k | return; |
4093 | 6.94k | } |
4094 | | |
4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); |
4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { |
4097 | 0 | for (auto& ch : str) { |
4098 | 0 | if (ch == m_locale_options.decimal_point) { |
4099 | 0 | ch = CharT{'.'}; |
4100 | 0 | } |
4101 | 0 | } |
4102 | 0 | } |
4103 | |
|
4104 | 0 | if (m_locale_options.thousands_sep == 0) { |
4105 | 0 | return; |
4106 | 0 | } |
4107 | | |
4108 | 0 | auto first = |
4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); |
4110 | 0 | if (first == str.end()) { |
4111 | 0 | return; |
4112 | 0 | } |
4113 | | |
4114 | 0 | m_thsep_indices.push_back( |
4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); |
4116 | |
|
4117 | 0 | for (auto it = first; ++it != str.end();) { |
4118 | 0 | if (*it != m_locale_options.thousands_sep) { |
4119 | 0 | *first++ = std::move(*it); |
4120 | 0 | } |
4121 | 0 | else { |
4122 | 0 | m_thsep_indices.push_back( |
4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); |
4124 | 0 | } |
4125 | 0 | } |
4126 | |
|
4127 | 0 | str.erase(first, str.end()); |
4128 | 0 | } scn::v4::impl::float_reader<char>::handle_separators() Line | Count | Source | 4089 | 890 | { | 4090 | 890 | if (m_locale_options.thousands_sep == 0 && | 4091 | 890 | m_locale_options.decimal_point == CharT{'.'}) { | 4092 | 890 | return; | 4093 | 890 | } | 4094 | | | 4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4097 | 0 | for (auto& ch : str) { | 4098 | 0 | if (ch == m_locale_options.decimal_point) { | 4099 | 0 | ch = CharT{'.'}; | 4100 | 0 | } | 4101 | 0 | } | 4102 | 0 | } | 4103 | |
| 4104 | 0 | if (m_locale_options.thousands_sep == 0) { | 4105 | 0 | return; | 4106 | 0 | } | 4107 | | | 4108 | 0 | auto first = | 4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4110 | 0 | if (first == str.end()) { | 4111 | 0 | return; | 4112 | 0 | } | 4113 | | | 4114 | 0 | m_thsep_indices.push_back( | 4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4116 | |
| 4117 | 0 | for (auto it = first; ++it != str.end();) { | 4118 | 0 | if (*it != m_locale_options.thousands_sep) { | 4119 | 0 | *first++ = std::move(*it); | 4120 | 0 | } | 4121 | 0 | else { | 4122 | 0 | m_thsep_indices.push_back( | 4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4124 | 0 | } | 4125 | 0 | } | 4126 | |
| 4127 | 0 | str.erase(first, str.end()); | 4128 | 0 | } |
scn::v4::impl::float_reader<wchar_t>::handle_separators() Line | Count | Source | 4089 | 6.05k | { | 4090 | 6.05k | if (m_locale_options.thousands_sep == 0 && | 4091 | 6.05k | m_locale_options.decimal_point == CharT{'.'}) { | 4092 | 6.05k | return; | 4093 | 6.05k | } | 4094 | | | 4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4097 | 0 | for (auto& ch : str) { | 4098 | 0 | if (ch == m_locale_options.decimal_point) { | 4099 | 0 | ch = CharT{'.'}; | 4100 | 0 | } | 4101 | 0 | } | 4102 | 0 | } | 4103 | |
| 4104 | 0 | if (m_locale_options.thousands_sep == 0) { | 4105 | 0 | return; | 4106 | 0 | } | 4107 | | | 4108 | 0 | auto first = | 4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4110 | 0 | if (first == str.end()) { | 4111 | 0 | return; | 4112 | 0 | } | 4113 | | | 4114 | 0 | m_thsep_indices.push_back( | 4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4116 | |
| 4117 | 0 | for (auto it = first; ++it != str.end();) { | 4118 | 0 | if (*it != m_locale_options.thousands_sep) { | 4119 | 0 | *first++ = std::move(*it); | 4120 | 0 | } | 4121 | 0 | else { | 4122 | 0 | m_thsep_indices.push_back( | 4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4124 | 0 | } | 4125 | 0 | } | 4126 | |
| 4127 | 0 | str.erase(first, str.end()); | 4128 | 0 | } |
|
4129 | | |
4130 | | template <typename T> |
4131 | | T setsign(T value) const |
4132 | 0 | { |
4133 | 0 | if (m_sign == sign_type::minus_sign) { |
4134 | 0 | return std::copysign(value, T{-1.0}); |
4135 | 0 | } |
4136 | 0 | return std::copysign(value, T{1.0}); |
4137 | 0 | } Unexecuted instantiation: float scn::v4::impl::float_reader<char>::setsign<float>(float) const Unexecuted instantiation: float scn::v4::impl::float_reader<wchar_t>::setsign<float>(float) const Unexecuted instantiation: double scn::v4::impl::float_reader<char>::setsign<double>(double) const Unexecuted instantiation: double scn::v4::impl::float_reader<wchar_t>::setsign<double>(double) const Unexecuted instantiation: long double scn::v4::impl::float_reader<char>::setsign<long double>(long double) const Unexecuted instantiation: long double scn::v4::impl::float_reader<wchar_t>::setsign<long double>(long double) const |
4138 | | |
4139 | | template <typename T> |
4140 | | scan_expected<std::ptrdiff_t> parse_value_impl(T& value); |
4141 | | |
4142 | | localized_number_formatting_options<CharT> m_locale_options{}; |
4143 | | std::string m_thsep_indices{}; |
4144 | | contiguous_range_factory<CharT> m_nan_payload_buffer{}; |
4145 | | std::ptrdiff_t m_integral_part_length{-1}; |
4146 | | sign_type m_sign{sign_type::default_sign}; |
4147 | | float_kind m_kind{float_kind::tbd}; |
4148 | | }; |
4149 | | |
4150 | | #define SCN_DECLARE_FLOAT_READER_TEMPLATE(CharT, FloatT) \ |
4151 | | extern template auto float_reader<CharT>::parse_value_impl(FloatT&) \ |
4152 | | -> scan_expected<std::ptrdiff_t>; |
4153 | | |
4154 | | #if !SCN_DISABLE_TYPE_FLOAT |
4155 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, float) |
4156 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, float) |
4157 | | #endif |
4158 | | #if !SCN_DISABLE_TYPE_DOUBLE |
4159 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, double) |
4160 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, double) |
4161 | | #endif |
4162 | | #if !SCN_DISABLE_TYPE_LONG_DOUBLE |
4163 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, long double) |
4164 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, long double) |
4165 | | #endif |
4166 | | |
4167 | | #undef SCN_DECLARE_FLOAT_READER_TEMPLATE |
4168 | | |
4169 | | template <typename CharT> |
4170 | | class reader_impl_for_float |
4171 | | : public reader_base<reader_impl_for_float<CharT>, CharT> { |
4172 | | public: |
4173 | | constexpr reader_impl_for_float() = default; |
4174 | | |
4175 | | void check_specs_impl(const detail::format_specs& specs, |
4176 | | reader_error_handler& eh) |
4177 | 3.37k | { |
4178 | 3.37k | detail::check_float_type_specs(specs, eh); |
4179 | 3.37k | } scn::v4::impl::reader_impl_for_float<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4177 | 2.38k | { | 4178 | 2.38k | detail::check_float_type_specs(specs, eh); | 4179 | 2.38k | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4177 | 988 | { | 4178 | 988 | detail::check_float_type_specs(specs, eh); | 4179 | 988 | } |
|
4180 | | |
4181 | | template <typename Range, typename T> |
4182 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
4183 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4184 | 6.35k | { |
4185 | 6.35k | SCN_UNUSED(loc); |
4186 | | |
4187 | 6.35k | float_reader<CharT> rd{}; |
4188 | 6.35k | return read_impl<Range>( |
4189 | 6.35k | range, rd, |
4190 | 6.35k | [](float_reader<CharT>& r, auto&&... args) { |
4191 | 6.35k | return r.read_source(SCN_FWD(args)...); |
4192 | 6.35k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4190 | 628 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 628 | return r.read_source(SCN_FWD(args)...); | 4192 | 628 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4190 | 5.72k | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 5.72k | return r.read_source(SCN_FWD(args)...); | 4192 | 5.72k | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ |
4193 | 6.35k | value); |
4194 | 6.35k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4184 | 628 | { | 4185 | 628 | SCN_UNUSED(loc); | 4186 | | | 4187 | 628 | float_reader<CharT> rd{}; | 4188 | 628 | return read_impl<Range>( | 4189 | 628 | range, rd, | 4190 | 628 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 628 | return r.read_source(SCN_FWD(args)...); | 4192 | 628 | }, | 4193 | 628 | value); | 4194 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4184 | 5.72k | { | 4185 | 5.72k | SCN_UNUSED(loc); | 4186 | | | 4187 | 5.72k | float_reader<CharT> rd{}; | 4188 | 5.72k | return read_impl<Range>( | 4189 | 5.72k | range, rd, | 4190 | 5.72k | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 5.72k | return r.read_source(SCN_FWD(args)...); | 4192 | 5.72k | }, | 4193 | 5.72k | value); | 4194 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
4195 | | |
4196 | | template <typename Range, typename T> |
4197 | | auto read_specs(Range range, |
4198 | | const detail::format_specs& specs, |
4199 | | T& value, |
4200 | | detail::locale_ref loc) |
4201 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4202 | 1.11k | { |
4203 | 1.11k | float_reader<CharT> rd{get_options(specs)}; |
4204 | | |
4205 | 1.11k | #if !SCN_DISABLE_LOCALE |
4206 | 1.11k | if (specs.localized) { |
4207 | 38 | return read_impl<Range>( |
4208 | 38 | range, rd, |
4209 | 38 | [](float_reader<CharT>& r, auto&&... args) { |
4210 | 38 | return r.read_source_localized(SCN_FWD(args)...); |
4211 | 38 | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4209 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 12 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4209 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 12 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ |
4212 | 38 | value, loc); |
4213 | 38 | } |
4214 | 1.07k | #endif |
4215 | | |
4216 | 1.07k | return read_impl<Range>( |
4217 | 1.07k | range, rd, |
4218 | 1.07k | [](float_reader<CharT>& r, auto&&... args) { |
4219 | 1.07k | return r.read_source(SCN_FWD(args)...); |
4220 | 1.07k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4218 | 340 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 340 | return r.read_source(SCN_FWD(args)...); | 4220 | 340 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4218 | 278 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 278 | return r.read_source(SCN_FWD(args)...); | 4220 | 278 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4218 | 134 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 134 | return r.read_source(SCN_FWD(args)...); | 4220 | 134 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4218 | 326 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 326 | return r.read_source(SCN_FWD(args)...); | 4220 | 326 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ |
4221 | 1.07k | value); |
4222 | 1.11k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4202 | 352 | { | 4203 | 352 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 352 | #if !SCN_DISABLE_LOCALE | 4206 | 352 | if (specs.localized) { | 4207 | 12 | return read_impl<Range>( | 4208 | 12 | range, rd, | 4209 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 12 | }, | 4212 | 12 | value, loc); | 4213 | 12 | } | 4214 | 340 | #endif | 4215 | | | 4216 | 340 | return read_impl<Range>( | 4217 | 340 | range, rd, | 4218 | 340 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 340 | return r.read_source(SCN_FWD(args)...); | 4220 | 340 | }, | 4221 | 340 | value); | 4222 | 352 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4202 | 284 | { | 4203 | 284 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 284 | #if !SCN_DISABLE_LOCALE | 4206 | 284 | if (specs.localized) { | 4207 | 6 | return read_impl<Range>( | 4208 | 6 | range, rd, | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, | 4212 | 6 | value, loc); | 4213 | 6 | } | 4214 | 278 | #endif | 4215 | | | 4216 | 278 | return read_impl<Range>( | 4217 | 278 | range, rd, | 4218 | 278 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 278 | return r.read_source(SCN_FWD(args)...); | 4220 | 278 | }, | 4221 | 278 | value); | 4222 | 284 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4202 | 142 | { | 4203 | 142 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 142 | #if !SCN_DISABLE_LOCALE | 4206 | 142 | if (specs.localized) { | 4207 | 8 | return read_impl<Range>( | 4208 | 8 | range, rd, | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, | 4212 | 8 | value, loc); | 4213 | 8 | } | 4214 | 134 | #endif | 4215 | | | 4216 | 134 | return read_impl<Range>( | 4217 | 134 | range, rd, | 4218 | 134 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 134 | return r.read_source(SCN_FWD(args)...); | 4220 | 134 | }, | 4221 | 134 | value); | 4222 | 142 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4202 | 338 | { | 4203 | 338 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 338 | #if !SCN_DISABLE_LOCALE | 4206 | 338 | if (specs.localized) { | 4207 | 12 | return read_impl<Range>( | 4208 | 12 | range, rd, | 4209 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 12 | }, | 4212 | 12 | value, loc); | 4213 | 12 | } | 4214 | 326 | #endif | 4215 | | | 4216 | 326 | return read_impl<Range>( | 4217 | 326 | range, rd, | 4218 | 326 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 326 | return r.read_source(SCN_FWD(args)...); | 4220 | 326 | }, | 4221 | 326 | value); | 4222 | 338 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
4223 | | |
4224 | | private: |
4225 | | template <typename Range> |
4226 | | using read_source_callback_type = |
4227 | | scan_expected<ranges::const_iterator_t<Range>>(float_reader<CharT>&, |
4228 | | Range, |
4229 | | detail::locale_ref); |
4230 | | |
4231 | | template <typename Range, typename T> |
4232 | | scan_expected<ranges::const_iterator_t<Range>> read_impl( |
4233 | | Range range, |
4234 | | float_reader<CharT>& rd, |
4235 | | function_ref<read_source_callback_type<Range>> read_source_cb, |
4236 | | T& value, |
4237 | | detail::locale_ref loc = {}) |
4238 | 7.46k | { |
4239 | 7.46k | if (auto r = std::invoke(read_source_cb, rd, range, loc); |
4240 | 7.46k | SCN_UNLIKELY(!r)) { |
4241 | 528 | return unexpected(r.error()); |
4242 | 528 | } |
4243 | | |
4244 | 6.94k | SCN_TRY(n, rd.parse_value(value)); |
4245 | 0 | return ranges::next(range.begin(), n); |
4246 | 6.94k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4238 | 352 | { | 4239 | 352 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 352 | SCN_UNLIKELY(!r)) { | 4241 | 352 | return unexpected(r.error()); | 4242 | 352 | } | 4243 | | | 4244 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 0 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4238 | 912 | { | 4239 | 912 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 912 | SCN_UNLIKELY(!r)) { | 4241 | 22 | return unexpected(r.error()); | 4242 | 22 | } | 4243 | | | 4244 | 890 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 890 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4238 | 142 | { | 4239 | 142 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 142 | SCN_UNLIKELY(!r)) { | 4241 | 142 | return unexpected(r.error()); | 4242 | 142 | } | 4243 | | | 4244 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 0 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4238 | 6.06k | { | 4239 | 6.06k | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 6.06k | SCN_UNLIKELY(!r)) { | 4241 | 12 | return unexpected(r.error()); | 4242 | 12 | } | 4243 | | | 4244 | 6.05k | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 6.05k | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ |
4247 | | |
4248 | | static unsigned get_options(const detail::format_specs& specs) |
4249 | 1.11k | { |
4250 | 1.11k | unsigned options{}; |
4251 | 1.11k | if (specs.localized) { |
4252 | 38 | options |= float_reader_base::allow_thsep; |
4253 | 38 | } |
4254 | | |
4255 | 1.11k | SCN_GCC_COMPAT_PUSH |
4256 | 1.11k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
4257 | | |
4258 | 1.11k | switch (specs.type) { |
4259 | 42 | case detail::presentation_type::float_fixed: |
4260 | 42 | return options | float_reader_base::allow_fixed; |
4261 | | |
4262 | 16 | case detail::presentation_type::float_scientific: |
4263 | 16 | return options | float_reader_base::allow_scientific; |
4264 | | |
4265 | 38 | case detail::presentation_type::float_hex: |
4266 | 38 | return options | float_reader_base::allow_hex; |
4267 | | |
4268 | 14 | case detail::presentation_type::float_general: |
4269 | 14 | return options | float_reader_base::allow_scientific | |
4270 | 14 | float_reader_base::allow_fixed; |
4271 | | |
4272 | 1.00k | case detail::presentation_type::none: |
4273 | 1.00k | return options | float_reader_base::allow_scientific | |
4274 | 1.00k | float_reader_base::allow_fixed | |
4275 | 1.00k | float_reader_base::allow_hex; |
4276 | | |
4277 | 0 | default: |
4278 | 0 | SCN_EXPECT(false); |
4279 | 1.11k | SCN_UNREACHABLE; |
4280 | 1.11k | } |
4281 | | |
4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
4283 | 1.11k | } scn::v4::impl::reader_impl_for_float<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4249 | 636 | { | 4250 | 636 | unsigned options{}; | 4251 | 636 | if (specs.localized) { | 4252 | 18 | options |= float_reader_base::allow_thsep; | 4253 | 18 | } | 4254 | | | 4255 | 636 | SCN_GCC_COMPAT_PUSH | 4256 | 636 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4257 | | | 4258 | 636 | switch (specs.type) { | 4259 | 28 | case detail::presentation_type::float_fixed: | 4260 | 28 | return options | float_reader_base::allow_fixed; | 4261 | | | 4262 | 12 | case detail::presentation_type::float_scientific: | 4263 | 12 | return options | float_reader_base::allow_scientific; | 4264 | | | 4265 | 16 | case detail::presentation_type::float_hex: | 4266 | 16 | return options | float_reader_base::allow_hex; | 4267 | | | 4268 | 12 | case detail::presentation_type::float_general: | 4269 | 12 | return options | float_reader_base::allow_scientific | | 4270 | 12 | float_reader_base::allow_fixed; | 4271 | | | 4272 | 568 | case detail::presentation_type::none: | 4273 | 568 | return options | float_reader_base::allow_scientific | | 4274 | 568 | float_reader_base::allow_fixed | | 4275 | 568 | float_reader_base::allow_hex; | 4276 | | | 4277 | 0 | default: | 4278 | 0 | SCN_EXPECT(false); | 4279 | 636 | SCN_UNREACHABLE; | 4280 | 636 | } | 4281 | | | 4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4283 | 636 | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4249 | 480 | { | 4250 | 480 | unsigned options{}; | 4251 | 480 | if (specs.localized) { | 4252 | 20 | options |= float_reader_base::allow_thsep; | 4253 | 20 | } | 4254 | | | 4255 | 480 | SCN_GCC_COMPAT_PUSH | 4256 | 480 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4257 | | | 4258 | 480 | switch (specs.type) { | 4259 | 14 | case detail::presentation_type::float_fixed: | 4260 | 14 | return options | float_reader_base::allow_fixed; | 4261 | | | 4262 | 4 | case detail::presentation_type::float_scientific: | 4263 | 4 | return options | float_reader_base::allow_scientific; | 4264 | | | 4265 | 22 | case detail::presentation_type::float_hex: | 4266 | 22 | return options | float_reader_base::allow_hex; | 4267 | | | 4268 | 2 | case detail::presentation_type::float_general: | 4269 | 2 | return options | float_reader_base::allow_scientific | | 4270 | 2 | float_reader_base::allow_fixed; | 4271 | | | 4272 | 438 | case detail::presentation_type::none: | 4273 | 438 | return options | float_reader_base::allow_scientific | | 4274 | 438 | float_reader_base::allow_fixed | | 4275 | 438 | float_reader_base::allow_hex; | 4276 | | | 4277 | 0 | default: | 4278 | 0 | SCN_EXPECT(false); | 4279 | 480 | SCN_UNREACHABLE; | 4280 | 480 | } | 4281 | | | 4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4283 | 480 | } |
|
4284 | | }; |
4285 | | |
4286 | | ///////////////////////////////////////////////////////////////// |
4287 | | // Regex reader |
4288 | | ///////////////////////////////////////////////////////////////// |
4289 | | |
4290 | | // Forward declaration for C++17 compatibility with regex disabled |
4291 | | template <typename CharT, typename Input> |
4292 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4293 | | detail::regex_flags flags, |
4294 | | Input input, |
4295 | | basic_regex_matches<CharT>& value) |
4296 | | -> scan_expected<ranges::iterator_t<Input>>; |
4297 | | |
4298 | | #if !SCN_DISABLE_REGEX |
4299 | | |
4300 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4301 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4302 | | -> scan_expected<std::regex_constants::syntax_option_type> |
4303 | | { |
4304 | | std::regex_constants::syntax_option_type result{}; |
4305 | | if ((flags & detail::regex_flags::multiline) != detail::regex_flags::none) { |
4306 | | #if SCN_HAS_STD_REGEX_MULTILINE |
4307 | | result |= std::regex_constants::multiline; |
4308 | | #else |
4309 | | return detail::unexpected_scan_error( |
4310 | | scan_error::invalid_format_string, |
4311 | | "/m flag for regex isn't supported by regex backend"); |
4312 | | #endif |
4313 | | } |
4314 | | if ((flags & detail::regex_flags::singleline) != |
4315 | | detail::regex_flags::none) { |
4316 | | return detail::unexpected_scan_error( |
4317 | | scan_error::invalid_format_string, |
4318 | | "/s flag for regex isn't supported by regex backend"); |
4319 | | } |
4320 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4321 | | result |= std::regex_constants::icase; |
4322 | | } |
4323 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4324 | | result |= std::regex_constants::nosubs; |
4325 | | } |
4326 | | return result; |
4327 | | } |
4328 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4329 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4330 | | -> boost::regex_constants::syntax_option_type |
4331 | | { |
4332 | | boost::regex_constants::syntax_option_type result{}; |
4333 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4334 | | result |= boost::regex_constants::no_mod_m; |
4335 | | } |
4336 | | if ((flags & detail::regex_flags::singleline) != |
4337 | | detail::regex_flags::none) { |
4338 | | result |= boost::regex_constants::mod_s; |
4339 | | } |
4340 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4341 | | result |= boost::regex_constants::icase; |
4342 | | } |
4343 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4344 | | result |= boost::regex_constants::nosubs; |
4345 | | } |
4346 | | return result; |
4347 | | } |
4348 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4349 | | inline auto make_regex_flags(detail::regex_flags flags) |
4350 | | -> std::pair<RE2::Options, std::string_view> |
4351 | 354 | { |
4352 | 354 | RE2::Options opt{RE2::Quiet}; |
4353 | 354 | std::string_view stringflags{}; |
4354 | | |
4355 | 354 | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4356 | 342 | stringflags = "(?m)"; |
4357 | 342 | } |
4358 | 354 | if ((flags & detail::regex_flags::singleline) != |
4359 | 354 | detail::regex_flags::none) { |
4360 | 6 | opt.set_dot_nl(true); |
4361 | 6 | } |
4362 | 354 | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4363 | 6 | opt.set_case_sensitive(false); |
4364 | 6 | } |
4365 | 354 | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4366 | 6 | opt.set_never_capture(true); |
4367 | 6 | } |
4368 | | |
4369 | 354 | return {opt, stringflags}; |
4370 | 354 | } |
4371 | | #endif // SCN_REGEX_BACKEND == ... |
4372 | | |
4373 | | template <typename CharT, typename Input> |
4374 | | auto read_regex_string_impl(std::basic_string_view<CharT> pattern, |
4375 | | detail::regex_flags flags, |
4376 | | Input input) |
4377 | | -> scan_expected<ranges::iterator_t<Input>> |
4378 | 354 | { |
4379 | 354 | static_assert(ranges::contiguous_range<Input> && |
4380 | 354 | ranges::borrowed_range<Input> && |
4381 | 354 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4382 | | |
4383 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4384 | | std::basic_regex<CharT> re{}; |
4385 | | try { |
4386 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4387 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), |
4388 | | re_flags | std::regex_constants::nosubs}; |
4389 | | } |
4390 | | catch (const std::regex_error& err) { |
4391 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4392 | | "Invalid regex"); |
4393 | | } |
4394 | | |
4395 | | std::match_results<const CharT*> matches{}; |
4396 | | try { |
4397 | | bool found = std::regex_search(input.data(), |
4398 | | input.data() + input.size(), matches, re, |
4399 | | std::regex_constants::match_continuous); |
4400 | | if (!found || matches.prefix().matched) { |
4401 | | return detail::unexpected_scan_error( |
4402 | | scan_error::invalid_scanned_value, |
4403 | | "Regular expression didn't match"); |
4404 | | } |
4405 | | } |
4406 | | catch (const std::regex_error& err) { |
4407 | | return detail::unexpected_scan_error( |
4408 | | scan_error::invalid_format_string, |
4409 | | "Regex matching failed with an error"); |
4410 | | } |
4411 | | |
4412 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4413 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4414 | | auto re = |
4415 | | #if SCN_REGEX_BOOST_USE_ICU |
4416 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), |
4417 | | make_regex_flags(flags) | |
4418 | | boost::regex_constants::no_except | |
4419 | | boost::regex_constants::nosubs); |
4420 | | #else |
4421 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), |
4422 | | make_regex_flags(flags) | |
4423 | | boost::regex_constants::no_except | |
4424 | | boost::regex_constants::nosubs}; |
4425 | | #endif |
4426 | | if (re.status() != 0) { |
4427 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4428 | | "Invalid regex"); |
4429 | | } |
4430 | | |
4431 | | boost::match_results<const CharT*> matches{}; |
4432 | | try { |
4433 | | bool found = |
4434 | | #if SCN_REGEX_BOOST_USE_ICU |
4435 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4436 | | matches, re, |
4437 | | boost::regex_constants::match_continuous); |
4438 | | #else |
4439 | | boost::regex_search(input.data(), input.data() + input.size(), |
4440 | | matches, re, |
4441 | | boost::regex_constants::match_continuous); |
4442 | | #endif |
4443 | | if (!found || matches.prefix().matched) { |
4444 | | return detail::unexpected_scan_error( |
4445 | | scan_error::invalid_scanned_value, |
4446 | | "Regular expression didn't match"); |
4447 | | } |
4448 | | } |
4449 | | catch (const std::runtime_error& err) { |
4450 | | return detail::unexpected_scan_error( |
4451 | | scan_error::invalid_format_string, |
4452 | | "Regex matching failed with an error"); |
4453 | | } |
4454 | | |
4455 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4456 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4457 | | static_assert(std::is_same_v<CharT, char>); |
4458 | 354 | std::string flagged_pattern{}; |
4459 | 354 | auto re = [&]() { |
4460 | 354 | auto [opts, flagstr] = make_regex_flags(flags); |
4461 | 354 | opts.set_never_capture(true); |
4462 | 354 | if (flagstr.empty()) { |
4463 | 12 | return re2::RE2{pattern, opts}; |
4464 | 12 | } |
4465 | 342 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4466 | 342 | flagged_pattern.append(flagstr); |
4467 | 342 | flagged_pattern.append(pattern); |
4468 | 342 | return re2::RE2{flagged_pattern, opts}; |
4469 | 354 | }(); Unexecuted instantiation: _ZZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ENKUlvE_clEv _ZZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ENKUlvE_clEv Line | Count | Source | 4459 | 354 | auto re = [&]() { | 4460 | 354 | auto [opts, flagstr] = make_regex_flags(flags); | 4461 | 354 | opts.set_never_capture(true); | 4462 | 354 | if (flagstr.empty()) { | 4463 | 12 | return re2::RE2{pattern, opts}; | 4464 | 12 | } | 4465 | 342 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4466 | 342 | flagged_pattern.append(flagstr); | 4467 | 342 | flagged_pattern.append(pattern); | 4468 | 342 | return re2::RE2{flagged_pattern, opts}; | 4469 | 354 | }(); |
|
4470 | 354 | if (!re.ok()) { |
4471 | 114 | return detail::unexpected_scan_error( |
4472 | 114 | scan_error::invalid_format_string, |
4473 | 114 | "Failed to parse regular expression"); |
4474 | 114 | } |
4475 | | |
4476 | 240 | auto new_input = detail::make_string_view_from_pointers( |
4477 | 240 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4478 | 240 | bool found = re2::RE2::Consume(&new_input, re); |
4479 | 240 | if (!found) { |
4480 | 150 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4481 | 150 | "Regular expression didn't match"); |
4482 | 150 | } |
4483 | 90 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4484 | 240 | #endif // SCN_REGEX_BACKEND == ... |
4485 | 240 | } Unexecuted instantiation: _ZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4378 | 354 | { | 4379 | 354 | static_assert(ranges::contiguous_range<Input> && | 4380 | 354 | ranges::borrowed_range<Input> && | 4381 | 354 | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4382 | | | 4383 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4384 | | std::basic_regex<CharT> re{}; | 4385 | | try { | 4386 | | SCN_TRY(re_flags, make_regex_flags(flags)); | 4387 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4388 | | re_flags | std::regex_constants::nosubs}; | 4389 | | } | 4390 | | catch (const std::regex_error& err) { | 4391 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4392 | | "Invalid regex"); | 4393 | | } | 4394 | | | 4395 | | std::match_results<const CharT*> matches{}; | 4396 | | try { | 4397 | | bool found = std::regex_search(input.data(), | 4398 | | input.data() + input.size(), matches, re, | 4399 | | std::regex_constants::match_continuous); | 4400 | | if (!found || matches.prefix().matched) { | 4401 | | return detail::unexpected_scan_error( | 4402 | | scan_error::invalid_scanned_value, | 4403 | | "Regular expression didn't match"); | 4404 | | } | 4405 | | } | 4406 | | catch (const std::regex_error& err) { | 4407 | | return detail::unexpected_scan_error( | 4408 | | scan_error::invalid_format_string, | 4409 | | "Regex matching failed with an error"); | 4410 | | } | 4411 | | | 4412 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4413 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4414 | | auto re = | 4415 | | #if SCN_REGEX_BOOST_USE_ICU | 4416 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4417 | | make_regex_flags(flags) | | 4418 | | boost::regex_constants::no_except | | 4419 | | boost::regex_constants::nosubs); | 4420 | | #else | 4421 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4422 | | make_regex_flags(flags) | | 4423 | | boost::regex_constants::no_except | | 4424 | | boost::regex_constants::nosubs}; | 4425 | | #endif | 4426 | | if (re.status() != 0) { | 4427 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4428 | | "Invalid regex"); | 4429 | | } | 4430 | | | 4431 | | boost::match_results<const CharT*> matches{}; | 4432 | | try { | 4433 | | bool found = | 4434 | | #if SCN_REGEX_BOOST_USE_ICU | 4435 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4436 | | matches, re, | 4437 | | boost::regex_constants::match_continuous); | 4438 | | #else | 4439 | | boost::regex_search(input.data(), input.data() + input.size(), | 4440 | | matches, re, | 4441 | | boost::regex_constants::match_continuous); | 4442 | | #endif | 4443 | | if (!found || matches.prefix().matched) { | 4444 | | return detail::unexpected_scan_error( | 4445 | | scan_error::invalid_scanned_value, | 4446 | | "Regular expression didn't match"); | 4447 | | } | 4448 | | } | 4449 | | catch (const std::runtime_error& err) { | 4450 | | return detail::unexpected_scan_error( | 4451 | | scan_error::invalid_format_string, | 4452 | | "Regex matching failed with an error"); | 4453 | | } | 4454 | | | 4455 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4456 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4457 | | static_assert(std::is_same_v<CharT, char>); | 4458 | 354 | std::string flagged_pattern{}; | 4459 | 354 | auto re = [&]() { | 4460 | 354 | auto [opts, flagstr] = make_regex_flags(flags); | 4461 | 354 | opts.set_never_capture(true); | 4462 | 354 | if (flagstr.empty()) { | 4463 | 354 | return re2::RE2{pattern, opts}; | 4464 | 354 | } | 4465 | 354 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4466 | 354 | flagged_pattern.append(flagstr); | 4467 | 354 | flagged_pattern.append(pattern); | 4468 | 354 | return re2::RE2{flagged_pattern, opts}; | 4469 | 354 | }(); | 4470 | 354 | if (!re.ok()) { | 4471 | 114 | return detail::unexpected_scan_error( | 4472 | 114 | scan_error::invalid_format_string, | 4473 | 114 | "Failed to parse regular expression"); | 4474 | 114 | } | 4475 | | | 4476 | 240 | auto new_input = detail::make_string_view_from_pointers( | 4477 | 240 | detail::to_address(input.begin()), detail::to_address(input.end())); | 4478 | 240 | bool found = re2::RE2::Consume(&new_input, re); | 4479 | 240 | if (!found) { | 4480 | 150 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, | 4481 | 150 | "Regular expression didn't match"); | 4482 | 150 | } | 4483 | 90 | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4484 | 240 | #endif // SCN_REGEX_BACKEND == ... | 4485 | 240 | } |
|
4486 | | |
4487 | | template <typename CharT, typename Input> |
4488 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4489 | | detail::regex_flags flags, |
4490 | | Input input, |
4491 | | basic_regex_matches<CharT>& value) |
4492 | | -> scan_expected<ranges::iterator_t<Input>> |
4493 | 0 | { |
4494 | 0 | static_assert(ranges::contiguous_range<Input> && |
4495 | 0 | ranges::borrowed_range<Input> && |
4496 | 0 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4497 | |
|
4498 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4499 | | std::basic_regex<CharT> re{}; |
4500 | | try { |
4501 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4502 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), re_flags}; |
4503 | | } |
4504 | | catch (const std::regex_error& err) { |
4505 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4506 | | "Invalid regex"); |
4507 | | } |
4508 | | |
4509 | | std::match_results<const CharT*> matches{}; |
4510 | | try { |
4511 | | bool found = std::regex_search(input.data(), |
4512 | | input.data() + input.size(), matches, re, |
4513 | | std::regex_constants::match_continuous); |
4514 | | if (!found || matches.prefix().matched) { |
4515 | | return detail::unexpected_scan_error( |
4516 | | scan_error::invalid_scanned_value, |
4517 | | "Regular expression didn't match"); |
4518 | | } |
4519 | | } |
4520 | | catch (const std::regex_error& err) { |
4521 | | return detail::unexpected_scan_error( |
4522 | | scan_error::invalid_format_string, |
4523 | | "Regex matching failed with an error"); |
4524 | | } |
4525 | | |
4526 | | value.resize(matches.size()); |
4527 | | std::transform(matches.begin(), matches.end(), value.begin(), |
4528 | | [](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4529 | | if (!match.matched) |
4530 | | return std::nullopt; |
4531 | | return detail::make_string_view_from_pointers( |
4532 | | match.first, match.second); |
4533 | | }); |
4534 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4535 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4536 | | std::vector<std::basic_string<CharT>> names; |
4537 | | for (size_t i = 0; i < pattern.size();) { |
4538 | | if constexpr (std::is_same_v<CharT, char>) { |
4539 | | i = pattern.find("(?<", i); |
4540 | | } |
4541 | | else { |
4542 | | i = pattern.find(L"(?<", i); |
4543 | | } |
4544 | | |
4545 | | if (i == std::basic_string_view<CharT>::npos) { |
4546 | | break; |
4547 | | } |
4548 | | if (i > 0 && pattern[i - 1] == CharT{'\\'}) { |
4549 | | if (i == 1 || pattern[i - 2] != CharT{'\\'}) { |
4550 | | i += 3; |
4551 | | continue; |
4552 | | } |
4553 | | } |
4554 | | |
4555 | | i += 3; |
4556 | | auto end_i = pattern.find(CharT{'>'}, i); |
4557 | | if (end_i == std::basic_string_view<CharT>::npos) { |
4558 | | break; |
4559 | | } |
4560 | | names.emplace_back(pattern.substr(i, end_i - i)); |
4561 | | } |
4562 | | |
4563 | | auto re = |
4564 | | #if SCN_REGEX_BOOST_USE_ICU |
4565 | | boost::make_u32regex( |
4566 | | pattern.data(), pattern.data() + pattern.size(), |
4567 | | make_regex_flags(flags) | boost::regex_constants::no_except); |
4568 | | #else |
4569 | | boost::basic_regex<CharT>{ |
4570 | | pattern.data(), pattern.size(), |
4571 | | make_regex_flags(flags) | boost::regex_constants::no_except}; |
4572 | | #endif |
4573 | | if (re.status() != 0) { |
4574 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4575 | | "Invalid regex"); |
4576 | | } |
4577 | | |
4578 | | boost::match_results<const CharT*> matches{}; |
4579 | | try { |
4580 | | bool found = |
4581 | | #if SCN_REGEX_BOOST_USE_ICU |
4582 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4583 | | matches, re, |
4584 | | boost::regex_constants::match_continuous); |
4585 | | #else |
4586 | | boost::regex_search(input.data(), input.data() + input.size(), |
4587 | | matches, re, |
4588 | | boost::regex_constants::match_continuous); |
4589 | | #endif |
4590 | | if (!found || matches.prefix().matched) { |
4591 | | return detail::unexpected_scan_error( |
4592 | | scan_error::invalid_scanned_value, |
4593 | | "Regular expression didn't match"); |
4594 | | } |
4595 | | } |
4596 | | catch (const std::runtime_error& err) { |
4597 | | return detail::unexpected_scan_error( |
4598 | | scan_error::invalid_format_string, |
4599 | | "Regex matching failed with an error"); |
4600 | | } |
4601 | | |
4602 | | value.resize(matches.size()); |
4603 | | std::transform( |
4604 | | matches.begin(), matches.end(), value.begin(), |
4605 | | [&](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4606 | | if (!match.matched) |
4607 | | return std::nullopt; |
4608 | | auto sv = detail::make_string_view_from_pointers(match.first, |
4609 | | match.second); |
4610 | | |
4611 | | if (auto name_it = std::find_if( |
4612 | | names.begin(), names.end(), |
4613 | | [&](const auto& name) { return match == matches[name]; }); |
4614 | | name_it != names.end()) { |
4615 | | return basic_regex_match<CharT>{sv, *name_it}; |
4616 | | } |
4617 | | return sv; |
4618 | | }); |
4619 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4620 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4621 | | static_assert(std::is_same_v<CharT, char>); |
4622 | 0 | std::string flagged_pattern{}; |
4623 | 0 | auto re = [&]() { |
4624 | 0 | auto [opts, flagstr] = make_regex_flags(flags); |
4625 | 0 | if (flagstr.empty()) { |
4626 | 0 | return re2::RE2{pattern, opts}; |
4627 | 0 | } |
4628 | 0 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4629 | 0 | flagged_pattern.append(flagstr); |
4630 | 0 | flagged_pattern.append(pattern); |
4631 | 0 | return re2::RE2{flagged_pattern, opts}; |
4632 | 0 | }(); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlvE_clEv |
4633 | 0 | if (!re.ok()) { |
4634 | 0 | return detail::unexpected_scan_error( |
4635 | 0 | scan_error::invalid_format_string, |
4636 | 0 | "Failed to parse regular expression"); |
4637 | 0 | } |
4638 | | // TODO: Optimize into a single batch allocation |
4639 | 0 | const auto max_matches_n = |
4640 | 0 | static_cast<size_t>(re.NumberOfCapturingGroups()); |
4641 | 0 | std::vector<std::optional<std::string_view>> matches(max_matches_n); |
4642 | 0 | std::vector<re2::RE2::Arg> match_args(max_matches_n); |
4643 | 0 | std::vector<re2::RE2::Arg*> match_argptrs(max_matches_n); |
4644 | 0 | std::transform(matches.begin(), matches.end(), match_args.begin(), |
4645 | 0 | [](auto& val) { return re2::RE2::Arg{&val}; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E_clINS3_8optionalIS7_EEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E_clINSF_8optionalINSG_IcNSI_IcEEEEEEEEDaSQ_ |
4646 | 0 | std::transform(match_args.begin(), match_args.end(), match_argptrs.begin(), |
4647 | 0 | [](auto& arg) { return &arg; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E0_clIN3re23RE23ArgEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E0_clIN3re23RE23ArgEEEDaSQ_ |
4648 | 0 | auto new_input = detail::make_string_view_from_pointers( |
4649 | 0 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4650 | 0 | bool found = re2::RE2::ConsumeN(&new_input, re, match_argptrs.data(), |
4651 | 0 | match_argptrs.size()); |
4652 | 0 | if (!found) { |
4653 | 0 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4654 | 0 | "Regular expression didn't match"); |
4655 | 0 | } |
4656 | 0 | value.resize(matches.size() + 1); |
4657 | 0 | value[0] = |
4658 | 0 | detail::make_string_view_from_pointers(input.data(), new_input.data()); |
4659 | 0 | std::transform(matches.begin(), matches.end(), value.begin() + 1, |
4660 | 0 | [&](auto&& match) -> std::optional<regex_match> { |
4661 | 0 | if (!match) |
4662 | 0 | return std::nullopt; |
4663 | 0 | return *match; |
4664 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRNS3_8optionalIS7_EEEENSP_INS0_17basic_regex_matchIcEEEESM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRNSF_8optionalINSG_IcNSI_IcEEEEEEEENST_INS0_17basic_regex_matchIcEEEESQ_ |
4665 | 0 | { |
4666 | 0 | const auto& capturing_groups = re.CapturingGroupNames(); |
4667 | 0 | for (size_t i = 1; i < value.size(); ++i) { |
4668 | 0 | if (auto it = capturing_groups.find(static_cast<int>(i)); |
4669 | 0 | it != capturing_groups.end()) { |
4670 | 0 | auto val = value[i]->get(); |
4671 | 0 | value[i].emplace(val, it->second); |
4672 | 0 | }; |
4673 | 0 | } |
4674 | 0 | } |
4675 | 0 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4676 | 0 | #endif // SCN_REGEX_BACKEND == ... |
4677 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE |
4678 | | |
4679 | | inline std::string get_unescaped_regex_pattern(std::string_view pattern) |
4680 | 528 | { |
4681 | 528 | std::string result{pattern}; |
4682 | 4.59k | for (size_t n = 0; (n = result.find("\\/", n)) != std::string::npos;) { |
4683 | 4.06k | result.replace(n, 2, "/"); |
4684 | 4.06k | ++n; |
4685 | 4.06k | } |
4686 | 528 | return result; |
4687 | 528 | } |
4688 | | inline std::wstring get_unescaped_regex_pattern(std::wstring_view pattern) |
4689 | 0 | { |
4690 | 0 | std::wstring result{pattern}; |
4691 | 0 | for (size_t n = 0; (n = result.find(L"\\/", n)) != std::wstring::npos;) { |
4692 | 0 | result.replace(n, 2, L"/"); |
4693 | 0 | ++n; |
4694 | 0 | } |
4695 | 0 | return result; |
4696 | 0 | } |
4697 | | |
4698 | | #endif // !SCN_DISABLE_REGEX |
4699 | | |
4700 | | template <typename SourceCharT> |
4701 | | struct regex_matches_reader |
4702 | | : public reader_base<regex_matches_reader<SourceCharT>, SourceCharT> { |
4703 | | void check_specs_impl(const detail::format_specs& specs, |
4704 | | reader_error_handler& eh) |
4705 | 0 | { |
4706 | 0 | detail::check_regex_type_specs(specs, eh); |
4707 | 0 | SCN_EXPECT(specs.charset_string_data != nullptr); |
4708 | 0 | SCN_EXPECT(specs.charset_string_size > 0); |
4709 | 0 | } Unexecuted instantiation: scn::v4::impl::regex_matches_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Unexecuted instantiation: scn::v4::impl::regex_matches_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) |
4710 | | |
4711 | | template <typename Range, typename DestCharT> |
4712 | | auto read_default(Range, |
4713 | | basic_regex_matches<DestCharT>&, |
4714 | | detail::locale_ref = {}) |
4715 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4716 | 0 | { |
4717 | 0 | return detail::unexpected_scan_error( |
4718 | 0 | scan_error::invalid_format_string, |
4719 | 0 | "No regex given in format string for scanning regex_matches"); |
4720 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE |
4721 | | |
4722 | | template <typename Range, typename DestCharT> |
4723 | | auto read_specs(Range range, |
4724 | | const detail::format_specs& specs, |
4725 | | basic_regex_matches<DestCharT>& value, |
4726 | | detail::locale_ref = {}) |
4727 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4728 | 0 | { |
4729 | 0 | if constexpr (!std::is_same_v<SourceCharT, DestCharT>) { |
4730 | 0 | return detail::unexpected_scan_error( |
4731 | 0 | scan_error::invalid_format_string, |
4732 | 0 | "Cannot transcode is regex_matches_reader"); |
4733 | | } |
4734 | | else if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4735 | 0 | !std::is_same_v<SourceCharT, char>) { |
4736 | 0 | return detail::unexpected_scan_error( |
4737 | 0 | scan_error::invalid_format_string, |
4738 | 0 | "Regex backend doesn't support wide strings as input"); |
4739 | | } |
4740 | 0 | else { |
4741 | 0 | if (!is_entire_source_contiguous(range)) { |
4742 | 0 | return detail::unexpected_scan_error( |
4743 | 0 | scan_error::invalid_format_string, |
4744 | 0 | "Cannot use regex with a non-contiguous source " |
4745 | 0 | "range"); |
4746 | 0 | } |
4747 | | |
4748 | 0 | auto input = get_as_contiguous(range); |
4749 | 0 | SCN_TRY(it, |
4750 | 0 | impl(input, |
4751 | 0 | specs.type == detail::presentation_type::regex_escaped, |
4752 | 0 | specs.charset_string<SourceCharT>(), |
4753 | 0 | specs.regexp_flags, value)); |
4754 | 0 | return ranges::next(range.begin(), |
4755 | 0 | ranges::distance(input.begin(), it)); |
4756 | 0 | } |
4757 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE |
4758 | | |
4759 | | private: |
4760 | | template <typename Range, typename DestCharT> |
4761 | | auto impl(Range input, |
4762 | | bool is_escaped, |
4763 | | std::basic_string_view<SourceCharT> pattern, |
4764 | | detail::regex_flags flags, |
4765 | | basic_regex_matches<DestCharT>& value) |
4766 | 0 | { |
4767 | | if constexpr (detail::is_type_disabled< |
4768 | | basic_regex_matches<DestCharT>>) { |
4769 | | SCN_EXPECT(false); |
4770 | | SCN_UNREACHABLE; |
4771 | | } |
4772 | 0 | else { |
4773 | 0 | if (is_escaped) { |
4774 | 0 | return read_regex_matches_impl<SourceCharT>( |
4775 | 0 | get_unescaped_regex_pattern(pattern), flags, input, value); |
4776 | 0 | } |
4777 | 0 | return read_regex_matches_impl(pattern, flags, input, value); |
4778 | 0 | } |
4779 | 0 | } Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) |
4780 | | }; |
4781 | | |
4782 | | template <typename CharT> |
4783 | | struct reader_impl_for_regex_matches : public regex_matches_reader<CharT> {}; |
4784 | | |
4785 | | ///////////////////////////////////////////////////////////////// |
4786 | | // String reader |
4787 | | ///////////////////////////////////////////////////////////////// |
4788 | | |
4789 | | template <typename Range, typename Iterator, typename ValueCharT> |
4790 | | auto read_string_impl(Range range, |
4791 | | Iterator&& result, |
4792 | | std::basic_string<ValueCharT>& value) |
4793 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4794 | 17.5k | { |
4795 | 17.5k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4796 | | |
4797 | 17.5k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); |
4798 | 17.5k | if (!validate_unicode(src.view())) { |
4799 | 1.92k | return detail::unexpected_scan_error( |
4800 | 1.92k | scan_error::invalid_scanned_value, |
4801 | 1.92k | "Invalid encoding in scanned string"); |
4802 | 1.92k | } |
4803 | | |
4804 | 15.6k | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); |
4805 | 15.6k | return SCN_MOVE(result); |
4806 | 15.6k | } Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 458 | { | 4795 | 458 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 458 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 458 | if (!validate_unicode(src.view())) { | 4799 | 176 | return detail::unexpected_scan_error( | 4800 | 176 | scan_error::invalid_scanned_value, | 4801 | 176 | "Invalid encoding in scanned string"); | 4802 | 176 | } | 4803 | | | 4804 | 282 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 282 | return SCN_MOVE(result); | 4806 | 282 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 258 | { | 4795 | 258 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 258 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 258 | if (!validate_unicode(src.view())) { | 4799 | 92 | return detail::unexpected_scan_error( | 4800 | 92 | scan_error::invalid_scanned_value, | 4801 | 92 | "Invalid encoding in scanned string"); | 4802 | 92 | } | 4803 | | | 4804 | 166 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 166 | return SCN_MOVE(result); | 4806 | 166 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 1.01k | { | 4795 | 1.01k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 1.01k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 1.01k | if (!validate_unicode(src.view())) { | 4799 | 324 | return detail::unexpected_scan_error( | 4800 | 324 | scan_error::invalid_scanned_value, | 4801 | 324 | "Invalid encoding in scanned string"); | 4802 | 324 | } | 4803 | | | 4804 | 686 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 686 | return SCN_MOVE(result); | 4806 | 686 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 526 | { | 4795 | 526 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 526 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 526 | if (!validate_unicode(src.view())) { | 4799 | 54 | return detail::unexpected_scan_error( | 4800 | 54 | scan_error::invalid_scanned_value, | 4801 | 54 | "Invalid encoding in scanned string"); | 4802 | 54 | } | 4803 | | | 4804 | 472 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 472 | return SCN_MOVE(result); | 4806 | 472 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 458 | { | 4795 | 458 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 458 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 458 | if (!validate_unicode(src.view())) { | 4799 | 176 | return detail::unexpected_scan_error( | 4800 | 176 | scan_error::invalid_scanned_value, | 4801 | 176 | "Invalid encoding in scanned string"); | 4802 | 176 | } | 4803 | | | 4804 | 282 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 282 | return SCN_MOVE(result); | 4806 | 282 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 258 | { | 4795 | 258 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 258 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 258 | if (!validate_unicode(src.view())) { | 4799 | 92 | return detail::unexpected_scan_error( | 4800 | 92 | scan_error::invalid_scanned_value, | 4801 | 92 | "Invalid encoding in scanned string"); | 4802 | 92 | } | 4803 | | | 4804 | 166 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 166 | return SCN_MOVE(result); | 4806 | 166 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 1.01k | { | 4795 | 1.01k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 1.01k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 1.01k | if (!validate_unicode(src.view())) { | 4799 | 324 | return detail::unexpected_scan_error( | 4800 | 324 | scan_error::invalid_scanned_value, | 4801 | 324 | "Invalid encoding in scanned string"); | 4802 | 324 | } | 4803 | | | 4804 | 686 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 686 | return SCN_MOVE(result); | 4806 | 686 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 526 | { | 4795 | 526 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 526 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 526 | if (!validate_unicode(src.view())) { | 4799 | 54 | return detail::unexpected_scan_error( | 4800 | 54 | scan_error::invalid_scanned_value, | 4801 | 54 | "Invalid encoding in scanned string"); | 4802 | 54 | } | 4803 | | | 4804 | 472 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 472 | return SCN_MOVE(result); | 4806 | 472 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 166 | { | 4795 | 166 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 166 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 166 | if (!validate_unicode(src.view())) { | 4799 | 66 | return detail::unexpected_scan_error( | 4800 | 66 | scan_error::invalid_scanned_value, | 4801 | 66 | "Invalid encoding in scanned string"); | 4802 | 66 | } | 4803 | | | 4804 | 100 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 100 | return SCN_MOVE(result); | 4806 | 100 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 134 | { | 4795 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 134 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 134 | if (!validate_unicode(src.view())) { | 4799 | 0 | return detail::unexpected_scan_error( | 4800 | 0 | scan_error::invalid_scanned_value, | 4801 | 0 | "Invalid encoding in scanned string"); | 4802 | 0 | } | 4803 | | | 4804 | 134 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 134 | return SCN_MOVE(result); | 4806 | 134 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 6.07k | { | 4795 | 6.07k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 6.07k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 6.07k | if (!validate_unicode(src.view())) { | 4799 | 242 | return detail::unexpected_scan_error( | 4800 | 242 | scan_error::invalid_scanned_value, | 4801 | 242 | "Invalid encoding in scanned string"); | 4802 | 242 | } | 4803 | | | 4804 | 5.83k | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 5.83k | return SCN_MOVE(result); | 4806 | 5.83k | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 146 | { | 4795 | 146 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 146 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 146 | if (!validate_unicode(src.view())) { | 4799 | 6 | return detail::unexpected_scan_error( | 4800 | 6 | scan_error::invalid_scanned_value, | 4801 | 6 | "Invalid encoding in scanned string"); | 4802 | 6 | } | 4803 | | | 4804 | 140 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 140 | return SCN_MOVE(result); | 4806 | 140 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 166 | { | 4795 | 166 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 166 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 166 | if (!validate_unicode(src.view())) { | 4799 | 66 | return detail::unexpected_scan_error( | 4800 | 66 | scan_error::invalid_scanned_value, | 4801 | 66 | "Invalid encoding in scanned string"); | 4802 | 66 | } | 4803 | | | 4804 | 100 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 100 | return SCN_MOVE(result); | 4806 | 100 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 134 | { | 4795 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 134 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 134 | if (!validate_unicode(src.view())) { | 4799 | 0 | return detail::unexpected_scan_error( | 4800 | 0 | scan_error::invalid_scanned_value, | 4801 | 0 | "Invalid encoding in scanned string"); | 4802 | 0 | } | 4803 | | | 4804 | 134 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 134 | return SCN_MOVE(result); | 4806 | 134 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 6.07k | { | 4795 | 6.07k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 6.07k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 6.07k | if (!validate_unicode(src.view())) { | 4799 | 242 | return detail::unexpected_scan_error( | 4800 | 242 | scan_error::invalid_scanned_value, | 4801 | 242 | "Invalid encoding in scanned string"); | 4802 | 242 | } | 4803 | | | 4804 | 5.83k | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 5.83k | return SCN_MOVE(result); | 4806 | 5.83k | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 146 | { | 4795 | 146 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 146 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 146 | if (!validate_unicode(src.view())) { | 4799 | 6 | return detail::unexpected_scan_error( | 4800 | 6 | scan_error::invalid_scanned_value, | 4801 | 6 | "Invalid encoding in scanned string"); | 4802 | 6 | } | 4803 | | | 4804 | 140 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 140 | return SCN_MOVE(result); | 4806 | 140 | } |
|
4807 | | |
4808 | | template <typename Range, typename Iterator, typename ValueCharT> |
4809 | | auto read_string_view_impl(Range range, |
4810 | | Iterator&& result, |
4811 | | std::basic_string_view<ValueCharT>& value) |
4812 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4813 | 8.77k | { |
4814 | 8.77k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4815 | | |
4816 | 8.77k | auto src = [&]() { |
4817 | 8.77k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { |
4818 | 1.01k | return make_contiguous_buffer( |
4819 | 1.01k | ranges::subrange{range.begin().base(), result.base()}); |
4820 | | } |
4821 | 7.76k | else { |
4822 | 7.76k | return make_contiguous_buffer( |
4823 | 7.76k | ranges::subrange{range.begin(), result}); |
4824 | 7.76k | } |
4825 | 8.77k | }(); Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 458 | auto src = [&]() { | 4817 | 458 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 458 | return make_contiguous_buffer( | 4819 | 458 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 458 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 258 | auto src = [&]() { | 4817 | 258 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 258 | return make_contiguous_buffer( | 4819 | 258 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 258 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 1.01k | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 1.01k | else { | 4822 | 1.01k | return make_contiguous_buffer( | 4823 | 1.01k | ranges::subrange{range.begin(), result}); | 4824 | 1.01k | } | 4825 | 1.01k | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 526 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 526 | else { | 4822 | 526 | return make_contiguous_buffer( | 4823 | 526 | ranges::subrange{range.begin(), result}); | 4824 | 526 | } | 4825 | 526 | }(); |
Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 166 | auto src = [&]() { | 4817 | 166 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 166 | return make_contiguous_buffer( | 4819 | 166 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 166 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 134 | auto src = [&]() { | 4817 | 134 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 134 | return make_contiguous_buffer( | 4819 | 134 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 134 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 6.07k | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 6.07k | else { | 4822 | 6.07k | return make_contiguous_buffer( | 4823 | 6.07k | ranges::subrange{range.begin(), result}); | 4824 | 6.07k | } | 4825 | 6.07k | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 146 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 146 | else { | 4822 | 146 | return make_contiguous_buffer( | 4823 | 146 | ranges::subrange{range.begin(), result}); | 4824 | 146 | } | 4825 | 146 | }(); |
|
4826 | 8.77k | using src_type = decltype(src); |
4827 | | |
4828 | 8.77k | if (src.stores_allocated_string()) { |
4829 | 0 | return detail::unexpected_scan_error( |
4830 | 0 | scan_error::invalid_format_string, |
4831 | 0 | "Cannot read a string_view from this source range (not " |
4832 | 0 | "contiguous)"); |
4833 | 0 | } |
4834 | 8.77k | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { |
4835 | 0 | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4836 | 0 | "Cannot read a string_view from " |
4837 | 0 | "this source range (would require " |
4838 | 0 | "transcoding)"); |
4839 | | } |
4840 | 8.77k | else { |
4841 | 8.77k | const auto view = src.view(); |
4842 | 8.77k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); |
4843 | | |
4844 | 8.77k | if (!validate_unicode(value)) { |
4845 | 960 | return detail::unexpected_scan_error( |
4846 | 960 | scan_error::invalid_scanned_value, |
4847 | 960 | "Invalid encoding in scanned string_view"); |
4848 | 960 | } |
4849 | | |
4850 | 7.81k | return SCN_MOVE(result); |
4851 | 8.77k | } |
4852 | 8.77k | } Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4813 | 458 | { | 4814 | 458 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 458 | auto src = [&]() { | 4817 | 458 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 458 | return make_contiguous_buffer( | 4819 | 458 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 458 | } | 4821 | 458 | else { | 4822 | 458 | return make_contiguous_buffer( | 4823 | 458 | ranges::subrange{range.begin(), result}); | 4824 | 458 | } | 4825 | 458 | }(); | 4826 | 458 | using src_type = decltype(src); | 4827 | | | 4828 | 458 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 458 | else { | 4841 | 458 | const auto view = src.view(); | 4842 | 458 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 458 | if (!validate_unicode(value)) { | 4845 | 176 | return detail::unexpected_scan_error( | 4846 | 176 | scan_error::invalid_scanned_value, | 4847 | 176 | "Invalid encoding in scanned string_view"); | 4848 | 176 | } | 4849 | | | 4850 | 282 | return SCN_MOVE(result); | 4851 | 458 | } | 4852 | 458 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4813 | 258 | { | 4814 | 258 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 258 | auto src = [&]() { | 4817 | 258 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 258 | return make_contiguous_buffer( | 4819 | 258 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 258 | } | 4821 | 258 | else { | 4822 | 258 | return make_contiguous_buffer( | 4823 | 258 | ranges::subrange{range.begin(), result}); | 4824 | 258 | } | 4825 | 258 | }(); | 4826 | 258 | using src_type = decltype(src); | 4827 | | | 4828 | 258 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 258 | else { | 4841 | 258 | const auto view = src.view(); | 4842 | 258 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 258 | if (!validate_unicode(value)) { | 4845 | 92 | return detail::unexpected_scan_error( | 4846 | 92 | scan_error::invalid_scanned_value, | 4847 | 92 | "Invalid encoding in scanned string_view"); | 4848 | 92 | } | 4849 | | | 4850 | 166 | return SCN_MOVE(result); | 4851 | 258 | } | 4852 | 258 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4813 | 1.01k | { | 4814 | 1.01k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 1.01k | auto src = [&]() { | 4817 | 1.01k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 1.01k | return make_contiguous_buffer( | 4819 | 1.01k | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 1.01k | } | 4821 | 1.01k | else { | 4822 | 1.01k | return make_contiguous_buffer( | 4823 | 1.01k | ranges::subrange{range.begin(), result}); | 4824 | 1.01k | } | 4825 | 1.01k | }(); | 4826 | 1.01k | using src_type = decltype(src); | 4827 | | | 4828 | 1.01k | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 1.01k | else { | 4841 | 1.01k | const auto view = src.view(); | 4842 | 1.01k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 1.01k | if (!validate_unicode(value)) { | 4845 | 324 | return detail::unexpected_scan_error( | 4846 | 324 | scan_error::invalid_scanned_value, | 4847 | 324 | "Invalid encoding in scanned string_view"); | 4848 | 324 | } | 4849 | | | 4850 | 686 | return SCN_MOVE(result); | 4851 | 1.01k | } | 4852 | 1.01k | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4813 | 526 | { | 4814 | 526 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 526 | auto src = [&]() { | 4817 | 526 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 526 | return make_contiguous_buffer( | 4819 | 526 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 526 | } | 4821 | 526 | else { | 4822 | 526 | return make_contiguous_buffer( | 4823 | 526 | ranges::subrange{range.begin(), result}); | 4824 | 526 | } | 4825 | 526 | }(); | 4826 | 526 | using src_type = decltype(src); | 4827 | | | 4828 | 526 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 526 | else { | 4841 | 526 | const auto view = src.view(); | 4842 | 526 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 526 | if (!validate_unicode(value)) { | 4845 | 54 | return detail::unexpected_scan_error( | 4846 | 54 | scan_error::invalid_scanned_value, | 4847 | 54 | "Invalid encoding in scanned string_view"); | 4848 | 54 | } | 4849 | | | 4850 | 472 | return SCN_MOVE(result); | 4851 | 526 | } | 4852 | 526 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4813 | 166 | { | 4814 | 166 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 166 | auto src = [&]() { | 4817 | 166 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 166 | return make_contiguous_buffer( | 4819 | 166 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 166 | } | 4821 | 166 | else { | 4822 | 166 | return make_contiguous_buffer( | 4823 | 166 | ranges::subrange{range.begin(), result}); | 4824 | 166 | } | 4825 | 166 | }(); | 4826 | 166 | using src_type = decltype(src); | 4827 | | | 4828 | 166 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 166 | else { | 4841 | 166 | const auto view = src.view(); | 4842 | 166 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 166 | if (!validate_unicode(value)) { | 4845 | 66 | return detail::unexpected_scan_error( | 4846 | 66 | scan_error::invalid_scanned_value, | 4847 | 66 | "Invalid encoding in scanned string_view"); | 4848 | 66 | } | 4849 | | | 4850 | 100 | return SCN_MOVE(result); | 4851 | 166 | } | 4852 | 166 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4813 | 134 | { | 4814 | 134 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 134 | auto src = [&]() { | 4817 | 134 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 134 | return make_contiguous_buffer( | 4819 | 134 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 134 | } | 4821 | 134 | else { | 4822 | 134 | return make_contiguous_buffer( | 4823 | 134 | ranges::subrange{range.begin(), result}); | 4824 | 134 | } | 4825 | 134 | }(); | 4826 | 134 | using src_type = decltype(src); | 4827 | | | 4828 | 134 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 134 | else { | 4841 | 134 | const auto view = src.view(); | 4842 | 134 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 134 | if (!validate_unicode(value)) { | 4845 | 0 | return detail::unexpected_scan_error( | 4846 | 0 | scan_error::invalid_scanned_value, | 4847 | 0 | "Invalid encoding in scanned string_view"); | 4848 | 0 | } | 4849 | | | 4850 | 134 | return SCN_MOVE(result); | 4851 | 134 | } | 4852 | 134 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4813 | 6.07k | { | 4814 | 6.07k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 6.07k | auto src = [&]() { | 4817 | 6.07k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 6.07k | return make_contiguous_buffer( | 4819 | 6.07k | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 6.07k | } | 4821 | 6.07k | else { | 4822 | 6.07k | return make_contiguous_buffer( | 4823 | 6.07k | ranges::subrange{range.begin(), result}); | 4824 | 6.07k | } | 4825 | 6.07k | }(); | 4826 | 6.07k | using src_type = decltype(src); | 4827 | | | 4828 | 6.07k | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 6.07k | else { | 4841 | 6.07k | const auto view = src.view(); | 4842 | 6.07k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 6.07k | if (!validate_unicode(value)) { | 4845 | 242 | return detail::unexpected_scan_error( | 4846 | 242 | scan_error::invalid_scanned_value, | 4847 | 242 | "Invalid encoding in scanned string_view"); | 4848 | 242 | } | 4849 | | | 4850 | 5.83k | return SCN_MOVE(result); | 4851 | 6.07k | } | 4852 | 6.07k | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4813 | 146 | { | 4814 | 146 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 146 | auto src = [&]() { | 4817 | 146 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 146 | return make_contiguous_buffer( | 4819 | 146 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 146 | } | 4821 | 146 | else { | 4822 | 146 | return make_contiguous_buffer( | 4823 | 146 | ranges::subrange{range.begin(), result}); | 4824 | 146 | } | 4825 | 146 | }(); | 4826 | 146 | using src_type = decltype(src); | 4827 | | | 4828 | 146 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 146 | else { | 4841 | 146 | const auto view = src.view(); | 4842 | 146 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 146 | if (!validate_unicode(value)) { | 4845 | 6 | return detail::unexpected_scan_error( | 4846 | 6 | scan_error::invalid_scanned_value, | 4847 | 6 | "Invalid encoding in scanned string_view"); | 4848 | 6 | } | 4849 | | | 4850 | 140 | return SCN_MOVE(result); | 4851 | 146 | } | 4852 | 146 | } |
|
4853 | | |
4854 | | template <typename SourceCharT> |
4855 | | class word_reader_impl { |
4856 | | public: |
4857 | | template <typename Range, typename ValueCharT> |
4858 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4859 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4860 | 14.8k | { |
4861 | 14.8k | return read_string_impl(range, read_until_classic_space(range), value); |
4862 | 14.8k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 310 | { | 4861 | 310 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 310 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 952 | { | 4861 | 952 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 952 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 310 | { | 4861 | 310 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 310 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 952 | { | 4861 | 952 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 952 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 124 | { | 4861 | 124 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 124 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 6.04k | { | 4861 | 6.04k | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 6.04k | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 124 | { | 4861 | 124 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 124 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 6.04k | { | 4861 | 6.04k | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 6.04k | } |
|
4863 | | |
4864 | | template <typename Range, typename ValueCharT> |
4865 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4866 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4867 | 7.42k | { |
4868 | 7.42k | return read_string_view_impl(range, read_until_classic_space(range), |
4869 | 7.42k | value); |
4870 | 7.42k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4867 | 310 | { | 4868 | 310 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 310 | value); | 4870 | 310 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4867 | 952 | { | 4868 | 952 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 952 | value); | 4870 | 952 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4867 | 124 | { | 4868 | 124 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 124 | value); | 4870 | 124 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4867 | 6.04k | { | 4868 | 6.04k | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 6.04k | value); | 4870 | 6.04k | } |
|
4871 | | }; |
4872 | | |
4873 | | template <typename SourceCharT> |
4874 | | class custom_word_reader_impl { |
4875 | | public: |
4876 | | template <typename Range, typename ValueCharT> |
4877 | | auto read(Range range, |
4878 | | const detail::format_specs& specs, |
4879 | | std::basic_string<ValueCharT>& value) |
4880 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4881 | 404 | { |
4882 | 404 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4883 | 248 | return read_string_impl( |
4884 | 248 | range, |
4885 | 248 | read_until_code_unit( |
4886 | 248 | range, |
4887 | 248 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4888 | 3.91k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 710 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 710 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 62 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 488 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 62 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 488 | SourceCharT ch) { return ch == until; }), |
|
4889 | 248 | value); |
4890 | 248 | } |
4891 | 156 | return read_string_impl( |
4892 | 156 | range, |
4893 | 156 | read_until_code_units( |
4894 | 156 | range, specs.fill.template get_code_units<SourceCharT>()), |
4895 | 156 | value); |
4896 | 404 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 92 | { | 4882 | 92 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 42 | return read_string_impl( | 4884 | 42 | range, | 4885 | 42 | read_until_code_unit( | 4886 | 42 | range, | 4887 | 42 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 42 | SourceCharT ch) { return ch == until; }), | 4889 | 42 | value); | 4890 | 42 | } | 4891 | 50 | return read_string_impl( | 4892 | 50 | range, | 4893 | 50 | read_until_code_units( | 4894 | 50 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 50 | value); | 4896 | 92 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 58 | { | 4882 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 30 | return read_string_impl( | 4884 | 30 | range, | 4885 | 30 | read_until_code_unit( | 4886 | 30 | range, | 4887 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 30 | SourceCharT ch) { return ch == until; }), | 4889 | 30 | value); | 4890 | 30 | } | 4891 | 28 | return read_string_impl( | 4892 | 28 | range, | 4893 | 28 | read_until_code_units( | 4894 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 28 | value); | 4896 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 92 | { | 4882 | 92 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 42 | return read_string_impl( | 4884 | 42 | range, | 4885 | 42 | read_until_code_unit( | 4886 | 42 | range, | 4887 | 42 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 42 | SourceCharT ch) { return ch == until; }), | 4889 | 42 | value); | 4890 | 42 | } | 4891 | 50 | return read_string_impl( | 4892 | 50 | range, | 4893 | 50 | read_until_code_units( | 4894 | 50 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 50 | value); | 4896 | 92 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 58 | { | 4882 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 30 | return read_string_impl( | 4884 | 30 | range, | 4885 | 30 | read_until_code_unit( | 4886 | 30 | range, | 4887 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 30 | SourceCharT ch) { return ch == until; }), | 4889 | 30 | value); | 4890 | 30 | } | 4891 | 28 | return read_string_impl( | 4892 | 28 | range, | 4893 | 28 | read_until_code_units( | 4894 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 28 | value); | 4896 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 14 | { | 4882 | 14 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 14 | return read_string_impl( | 4884 | 14 | range, | 4885 | 14 | read_until_code_unit( | 4886 | 14 | range, | 4887 | 14 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 14 | SourceCharT ch) { return ch == until; }), | 4889 | 14 | value); | 4890 | 14 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 14 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 38 | { | 4882 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 38 | return read_string_impl( | 4884 | 38 | range, | 4885 | 38 | read_until_code_unit( | 4886 | 38 | range, | 4887 | 38 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 38 | SourceCharT ch) { return ch == until; }), | 4889 | 38 | value); | 4890 | 38 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 14 | { | 4882 | 14 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 14 | return read_string_impl( | 4884 | 14 | range, | 4885 | 14 | read_until_code_unit( | 4886 | 14 | range, | 4887 | 14 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 14 | SourceCharT ch) { return ch == until; }), | 4889 | 14 | value); | 4890 | 14 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 14 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 38 | { | 4882 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 38 | return read_string_impl( | 4884 | 38 | range, | 4885 | 38 | read_until_code_unit( | 4886 | 38 | range, | 4887 | 38 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 38 | SourceCharT ch) { return ch == until; }), | 4889 | 38 | value); | 4890 | 38 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 38 | } |
|
4897 | | |
4898 | | template <typename Range, typename ValueCharT> |
4899 | | auto read(Range range, |
4900 | | const detail::format_specs& specs, |
4901 | | std::basic_string_view<ValueCharT>& value) |
4902 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4903 | 202 | { |
4904 | 202 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4905 | 124 | return read_string_view_impl( |
4906 | 124 | range, |
4907 | 124 | read_until_code_unit( |
4908 | 124 | range, |
4909 | 124 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4910 | 1.95k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Line | Count | Source | 4910 | 710 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Line | Count | Source | 4910 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Line | Count | Source | 4910 | 62 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Line | Count | Source | 4910 | 488 | SourceCharT ch) { return ch == until; }), |
|
4911 | 124 | value); |
4912 | 124 | } |
4913 | 78 | return read_string_view_impl( |
4914 | 78 | range, |
4915 | 78 | read_until_code_units( |
4916 | 78 | range, specs.fill.template get_code_units<SourceCharT>()), |
4917 | 78 | value); |
4918 | 202 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4903 | 92 | { | 4904 | 92 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 42 | return read_string_view_impl( | 4906 | 42 | range, | 4907 | 42 | read_until_code_unit( | 4908 | 42 | range, | 4909 | 42 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 42 | SourceCharT ch) { return ch == until; }), | 4911 | 42 | value); | 4912 | 42 | } | 4913 | 50 | return read_string_view_impl( | 4914 | 50 | range, | 4915 | 50 | read_until_code_units( | 4916 | 50 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 50 | value); | 4918 | 92 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4903 | 58 | { | 4904 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 30 | return read_string_view_impl( | 4906 | 30 | range, | 4907 | 30 | read_until_code_unit( | 4908 | 30 | range, | 4909 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 30 | SourceCharT ch) { return ch == until; }), | 4911 | 30 | value); | 4912 | 30 | } | 4913 | 28 | return read_string_view_impl( | 4914 | 28 | range, | 4915 | 28 | read_until_code_units( | 4916 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 28 | value); | 4918 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4903 | 14 | { | 4904 | 14 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 14 | return read_string_view_impl( | 4906 | 14 | range, | 4907 | 14 | read_until_code_unit( | 4908 | 14 | range, | 4909 | 14 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 14 | SourceCharT ch) { return ch == until; }), | 4911 | 14 | value); | 4912 | 14 | } | 4913 | 0 | return read_string_view_impl( | 4914 | 0 | range, | 4915 | 0 | read_until_code_units( | 4916 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 0 | value); | 4918 | 14 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4903 | 38 | { | 4904 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 38 | return read_string_view_impl( | 4906 | 38 | range, | 4907 | 38 | read_until_code_unit( | 4908 | 38 | range, | 4909 | 38 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 38 | SourceCharT ch) { return ch == until; }), | 4911 | 38 | value); | 4912 | 38 | } | 4913 | 0 | return read_string_view_impl( | 4914 | 0 | range, | 4915 | 0 | read_until_code_units( | 4916 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 0 | value); | 4918 | 38 | } |
|
4919 | | }; |
4920 | | |
4921 | | #if !SCN_DISABLE_REGEX |
4922 | | template <typename SourceCharT> |
4923 | | class regex_string_reader_impl { |
4924 | | public: |
4925 | | template <typename Range, typename ValueCharT> |
4926 | | auto read(Range range, |
4927 | | std::basic_string_view<SourceCharT> pattern, |
4928 | | detail::regex_flags flags, |
4929 | | std::basic_string<ValueCharT>& value) |
4930 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4931 | 420 | { |
4932 | 420 | SCN_TRY(it, impl(range, pattern, flags)); |
4933 | 60 | return read_string_impl(range, it, value); |
4934 | 420 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4931 | 92 | { | 4932 | 92 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 0 | return read_string_impl(range, it, value); | 4934 | 92 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4931 | 118 | { | 4932 | 118 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 30 | return read_string_impl(range, it, value); | 4934 | 118 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4931 | 92 | { | 4932 | 92 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 0 | return read_string_impl(range, it, value); | 4934 | 92 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4931 | 118 | { | 4932 | 118 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 30 | return read_string_impl(range, it, value); | 4934 | 118 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE |
4935 | | |
4936 | | template <typename Range, typename ValueCharT> |
4937 | | auto read(Range range, |
4938 | | std::basic_string_view<SourceCharT> pattern, |
4939 | | detail::regex_flags flags, |
4940 | | std::basic_string_view<ValueCharT>& value) |
4941 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4942 | 210 | { |
4943 | 210 | SCN_TRY(it, impl(range, pattern, flags)); |
4944 | 30 | return read_string_view_impl(range, it, value); |
4945 | 210 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4942 | 92 | { | 4943 | 92 | SCN_TRY(it, impl(range, pattern, flags)); | 4944 | 0 | return read_string_view_impl(range, it, value); | 4945 | 92 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4942 | 118 | { | 4943 | 118 | SCN_TRY(it, impl(range, pattern, flags)); | 4944 | 30 | return read_string_view_impl(range, it, value); | 4945 | 118 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE |
4946 | | |
4947 | | private: |
4948 | | template <typename Range> |
4949 | | auto impl(Range range, |
4950 | | std::basic_string_view<SourceCharT> pattern, |
4951 | | detail::regex_flags flags) |
4952 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4953 | 630 | { |
4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4955 | 0 | !std::is_same_v<SourceCharT, char>) { |
4956 | 0 | return detail::unexpected_scan_error( |
4957 | 0 | scan_error::invalid_format_string, |
4958 | 0 | "Regex backend doesn't support wide strings as input"); |
4959 | | } |
4960 | 630 | else { |
4961 | 630 | if (!is_entire_source_contiguous(range)) { |
4962 | 276 | return detail::unexpected_scan_error( |
4963 | 276 | scan_error::invalid_format_string, |
4964 | 276 | "Cannot use regex with a non-contiguous source " |
4965 | 276 | "range"); |
4966 | 276 | } |
4967 | | |
4968 | 354 | auto input = get_as_contiguous(range); |
4969 | 354 | SCN_TRY(it, |
4970 | 90 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); |
4971 | 90 | return ranges::next(range.begin(), |
4972 | 90 | ranges::distance(input.begin(), it)); |
4973 | 354 | } |
4974 | 630 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsE _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4953 | 276 | { | 4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4955 | | !std::is_same_v<SourceCharT, char>) { | 4956 | | return detail::unexpected_scan_error( | 4957 | | scan_error::invalid_format_string, | 4958 | | "Regex backend doesn't support wide strings as input"); | 4959 | | } | 4960 | 276 | else { | 4961 | 276 | if (!is_entire_source_contiguous(range)) { | 4962 | 276 | return detail::unexpected_scan_error( | 4963 | 276 | scan_error::invalid_format_string, | 4964 | 276 | "Cannot use regex with a non-contiguous source " | 4965 | 276 | "range"); | 4966 | 276 | } | 4967 | | | 4968 | 0 | auto input = get_as_contiguous(range); | 4969 | 0 | SCN_TRY(it, | 4970 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4971 | 0 | return ranges::next(range.begin(), | 4972 | 0 | ranges::distance(input.begin(), it)); | 4973 | 0 | } | 4974 | 276 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4953 | 354 | { | 4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4955 | | !std::is_same_v<SourceCharT, char>) { | 4956 | | return detail::unexpected_scan_error( | 4957 | | scan_error::invalid_format_string, | 4958 | | "Regex backend doesn't support wide strings as input"); | 4959 | | } | 4960 | 354 | else { | 4961 | 354 | if (!is_entire_source_contiguous(range)) { | 4962 | 0 | return detail::unexpected_scan_error( | 4963 | 0 | scan_error::invalid_format_string, | 4964 | 0 | "Cannot use regex with a non-contiguous source " | 4965 | 0 | "range"); | 4966 | 0 | } | 4967 | | | 4968 | 354 | auto input = get_as_contiguous(range); | 4969 | 354 | SCN_TRY(it, | 4970 | 90 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4971 | 90 | return ranges::next(range.begin(), | 4972 | 90 | ranges::distance(input.begin(), it)); | 4973 | 354 | } | 4974 | 354 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsE |
4975 | | }; |
4976 | | #endif |
4977 | | |
4978 | | template <typename SourceCharT> |
4979 | | class character_reader_impl { |
4980 | | public: |
4981 | | // Note: no localized version, |
4982 | | // since it's equivalent in behavior |
4983 | | |
4984 | | template <typename Range, typename ValueCharT> |
4985 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4986 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4987 | 168 | { |
4988 | 168 | return read_impl( |
4989 | 168 | range, |
4990 | 168 | [&](const auto& rng) { |
4991 | 168 | return read_string_impl(rng, read_all(rng), value); |
4992 | 168 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 56 | [&](const auto& rng) { | 4991 | 56 | return read_string_impl(rng, read_all(rng), value); | 4992 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 56 | [&](const auto& rng) { | 4991 | 56 | return read_string_impl(rng, read_all(rng), value); | 4992 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 28 | [&](const auto& rng) { | 4991 | 28 | return read_string_impl(rng, read_all(rng), value); | 4992 | 28 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 28 | [&](const auto& rng) { | 4991 | 28 | return read_string_impl(rng, read_all(rng), value); | 4992 | 28 | }, |
|
4993 | 168 | detail::priority_tag<1>{}); |
4994 | 168 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 56 | { | 4988 | 56 | return read_impl( | 4989 | 56 | range, | 4990 | 56 | [&](const auto& rng) { | 4991 | 56 | return read_string_impl(rng, read_all(rng), value); | 4992 | 56 | }, | 4993 | 56 | detail::priority_tag<1>{}); | 4994 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 56 | { | 4988 | 56 | return read_impl( | 4989 | 56 | range, | 4990 | 56 | [&](const auto& rng) { | 4991 | 56 | return read_string_impl(rng, read_all(rng), value); | 4992 | 56 | }, | 4993 | 56 | detail::priority_tag<1>{}); | 4994 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 28 | { | 4988 | 28 | return read_impl( | 4989 | 28 | range, | 4990 | 28 | [&](const auto& rng) { | 4991 | 28 | return read_string_impl(rng, read_all(rng), value); | 4992 | 28 | }, | 4993 | 28 | detail::priority_tag<1>{}); | 4994 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 28 | { | 4988 | 28 | return read_impl( | 4989 | 28 | range, | 4990 | 28 | [&](const auto& rng) { | 4991 | 28 | return read_string_impl(rng, read_all(rng), value); | 4992 | 28 | }, | 4993 | 28 | detail::priority_tag<1>{}); | 4994 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE |
4995 | | |
4996 | | template <typename Range, typename ValueCharT> |
4997 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4998 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4999 | 84 | { |
5000 | 84 | return read_impl( |
5001 | 84 | range, |
5002 | 84 | [&](const auto& rng) { |
5003 | 84 | return read_string_view_impl(rng, read_all(rng), value); |
5004 | 84 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5002 | 56 | [&](const auto& rng) { | 5003 | 56 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5002 | 28 | [&](const auto& rng) { | 5003 | 28 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 28 | }, |
|
5005 | 84 | detail::priority_tag<1>{}); |
5006 | 84 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4999 | 56 | { | 5000 | 56 | return read_impl( | 5001 | 56 | range, | 5002 | 56 | [&](const auto& rng) { | 5003 | 56 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 56 | }, | 5005 | 56 | detail::priority_tag<1>{}); | 5006 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4999 | 28 | { | 5000 | 28 | return read_impl( | 5001 | 28 | range, | 5002 | 28 | [&](const auto& rng) { | 5003 | 28 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 28 | }, | 5005 | 28 | detail::priority_tag<1>{}); | 5006 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE |
5007 | | |
5008 | | private: |
5009 | | template <typename View, typename ReadCb> |
5010 | | static auto read_impl(const take_width_view<View>& range, |
5011 | | ReadCb&& read_cb, |
5012 | | detail::priority_tag<1>) |
5013 | | -> scan_expected<ranges::const_iterator_t<take_width_view<View>&>> |
5014 | 252 | { |
5015 | 252 | return read_cb(range); |
5016 | 252 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 56 | { | 5015 | 56 | return read_cb(range); | 5016 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 56 | { | 5015 | 56 | return read_cb(range); | 5016 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 56 | { | 5015 | 56 | return read_cb(range); | 5016 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 28 | { | 5015 | 28 | return read_cb(range); | 5016 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 28 | { | 5015 | 28 | return read_cb(range); | 5016 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 28 | { | 5015 | 28 | return read_cb(range); | 5016 | 28 | } |
|
5017 | | |
5018 | | template <typename Range, typename ReadCb> |
5019 | | static auto read_impl(Range, ReadCb&&, detail::priority_tag<0>) |
5020 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5021 | 0 | { |
5022 | 0 | return detail::unexpected_scan_error( |
5023 | 0 | scan_error::invalid_format_string, |
5024 | 0 | "Cannot read characters {:c} without maximum field width"); |
5025 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE |
5026 | | }; |
5027 | | |
5028 | | struct nonascii_specs_handler { |
5029 | | void on_charset_single(char32_t cp) |
5030 | 344k | { |
5031 | 344k | on_charset_range(cp, cp + 1); |
5032 | 344k | } |
5033 | | |
5034 | | void on_charset_range(char32_t begin, char32_t end) |
5035 | 348k | { |
5036 | 348k | if (end <= 127) { |
5037 | 175k | return; |
5038 | 175k | } |
5039 | | |
5040 | 30.3M | for (auto& elem : extra_ranges) { |
5041 | | // TODO: check for overlap |
5042 | 30.3M | if (elem.first == end) { |
5043 | 528 | elem.first = begin; |
5044 | 528 | return; |
5045 | 528 | } |
5046 | | |
5047 | 30.3M | if (elem.second == begin) { |
5048 | 1.54k | elem.second = end; |
5049 | 1.54k | return; |
5050 | 1.54k | } |
5051 | 30.3M | } |
5052 | | |
5053 | 170k | extra_ranges.push_back(std::make_pair(begin, end)); |
5054 | 170k | } |
5055 | | |
5056 | | constexpr void on_charset_inverted() const |
5057 | 744 | { |
5058 | | // no-op |
5059 | 744 | } |
5060 | | |
5061 | | constexpr void on_error(const char* msg) |
5062 | 0 | { |
5063 | 0 | on_error(scan_error{scan_error::invalid_format_string, msg}); |
5064 | 0 | } |
5065 | | constexpr void on_error(scan_error e) |
5066 | 0 | { |
5067 | 0 | SCN_UNLIKELY_ATTR |
5068 | 0 | err = unexpected(e); |
5069 | 0 | } |
5070 | | |
5071 | | constexpr scan_expected<void> get_error() const |
5072 | 354k | { |
5073 | 354k | return err; |
5074 | 354k | } |
5075 | | |
5076 | | std::vector<std::pair<char32_t, char32_t>> extra_ranges; |
5077 | | scan_expected<void> err; |
5078 | | }; |
5079 | | |
5080 | | template <typename SourceCharT> |
5081 | | class character_set_reader_impl { |
5082 | | public: |
5083 | | template <typename Range, typename ValueCharT> |
5084 | | auto read(Range range, |
5085 | | const detail::format_specs& specs, |
5086 | | std::basic_string<ValueCharT>& value) |
5087 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5088 | 2.83k | { |
5089 | 2.83k | auto it = read_source_impl(range, {specs}); |
5090 | 2.83k | if (SCN_UNLIKELY(!it)) { |
5091 | 764 | return unexpected(it.error()); |
5092 | 764 | } |
5093 | | |
5094 | 2.06k | return read_string_impl(range, *it, value); |
5095 | 2.83k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 266 | { | 5089 | 266 | auto it = read_source_impl(range, {specs}); | 5090 | 266 | if (SCN_UNLIKELY(!it)) { | 5091 | 8 | return unexpected(it.error()); | 5092 | 8 | } | 5093 | | | 5094 | 258 | return read_string_impl(range, *it, value); | 5095 | 266 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 844 | { | 5089 | 844 | auto it = read_source_impl(range, {specs}); | 5090 | 844 | if (SCN_UNLIKELY(!it)) { | 5091 | 348 | return unexpected(it.error()); | 5092 | 348 | } | 5093 | | | 5094 | 496 | return read_string_impl(range, *it, value); | 5095 | 844 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 266 | { | 5089 | 266 | auto it = read_source_impl(range, {specs}); | 5090 | 266 | if (SCN_UNLIKELY(!it)) { | 5091 | 8 | return unexpected(it.error()); | 5092 | 8 | } | 5093 | | | 5094 | 258 | return read_string_impl(range, *it, value); | 5095 | 266 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 844 | { | 5089 | 844 | auto it = read_source_impl(range, {specs}); | 5090 | 844 | if (SCN_UNLIKELY(!it)) { | 5091 | 348 | return unexpected(it.error()); | 5092 | 348 | } | 5093 | | | 5094 | 496 | return read_string_impl(range, *it, value); | 5095 | 844 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 142 | { | 5089 | 142 | auto it = read_source_impl(range, {specs}); | 5090 | 142 | if (SCN_UNLIKELY(!it)) { | 5091 | 8 | return unexpected(it.error()); | 5092 | 8 | } | 5093 | | | 5094 | 134 | return read_string_impl(range, *it, value); | 5095 | 142 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 164 | { | 5089 | 164 | auto it = read_source_impl(range, {specs}); | 5090 | 164 | if (SCN_UNLIKELY(!it)) { | 5091 | 18 | return unexpected(it.error()); | 5092 | 18 | } | 5093 | | | 5094 | 146 | return read_string_impl(range, *it, value); | 5095 | 164 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 142 | { | 5089 | 142 | auto it = read_source_impl(range, {specs}); | 5090 | 142 | if (SCN_UNLIKELY(!it)) { | 5091 | 8 | return unexpected(it.error()); | 5092 | 8 | } | 5093 | | | 5094 | 134 | return read_string_impl(range, *it, value); | 5095 | 142 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 164 | { | 5089 | 164 | auto it = read_source_impl(range, {specs}); | 5090 | 164 | if (SCN_UNLIKELY(!it)) { | 5091 | 18 | return unexpected(it.error()); | 5092 | 18 | } | 5093 | | | 5094 | 146 | return read_string_impl(range, *it, value); | 5095 | 164 | } |
|
5096 | | |
5097 | | template <typename Range, typename ValueCharT> |
5098 | | auto read(Range range, |
5099 | | const detail::format_specs& specs, |
5100 | | std::basic_string_view<ValueCharT>& value) |
5101 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5102 | 1.41k | { |
5103 | 1.41k | auto it = read_source_impl(range, {specs}); |
5104 | 1.41k | if (SCN_UNLIKELY(!it)) { |
5105 | 382 | return unexpected(it.error()); |
5106 | 382 | } |
5107 | | |
5108 | 1.03k | return read_string_view_impl(range, *it, value); |
5109 | 1.41k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5102 | 266 | { | 5103 | 266 | auto it = read_source_impl(range, {specs}); | 5104 | 266 | if (SCN_UNLIKELY(!it)) { | 5105 | 8 | return unexpected(it.error()); | 5106 | 8 | } | 5107 | | | 5108 | 258 | return read_string_view_impl(range, *it, value); | 5109 | 266 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5102 | 844 | { | 5103 | 844 | auto it = read_source_impl(range, {specs}); | 5104 | 844 | if (SCN_UNLIKELY(!it)) { | 5105 | 348 | return unexpected(it.error()); | 5106 | 348 | } | 5107 | | | 5108 | 496 | return read_string_view_impl(range, *it, value); | 5109 | 844 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5102 | 142 | { | 5103 | 142 | auto it = read_source_impl(range, {specs}); | 5104 | 142 | if (SCN_UNLIKELY(!it)) { | 5105 | 8 | return unexpected(it.error()); | 5106 | 8 | } | 5107 | | | 5108 | 134 | return read_string_view_impl(range, *it, value); | 5109 | 142 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5102 | 164 | { | 5103 | 164 | auto it = read_source_impl(range, {specs}); | 5104 | 164 | if (SCN_UNLIKELY(!it)) { | 5105 | 18 | return unexpected(it.error()); | 5106 | 18 | } | 5107 | | | 5108 | 146 | return read_string_view_impl(range, *it, value); | 5109 | 164 | } |
|
5110 | | |
5111 | | private: |
5112 | | struct specs_helper { |
5113 | 4.24k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {}scn::v4::impl::character_set_reader_impl<char>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5113 | 3.33k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5113 | 918 | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
|
5114 | | |
5115 | | constexpr bool is_char_set_in_literals(char ch) const |
5116 | 239k | { |
5117 | 239k | SCN_EXPECT(is_ascii_char(ch)); |
5118 | 239k | const auto val = |
5119 | 239k | static_cast<unsigned>(static_cast<unsigned char>(ch)); |
5120 | 239k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> |
5121 | 239k | (val % 8)) & |
5122 | 239k | 1u; |
5123 | 239k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5116 | 229k | { | 5117 | 229k | SCN_EXPECT(is_ascii_char(ch)); | 5118 | 229k | const auto val = | 5119 | 229k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5120 | 229k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5121 | 229k | (val % 8)) & | 5122 | 229k | 1u; | 5123 | 229k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5116 | 9.66k | { | 5117 | 9.66k | SCN_EXPECT(is_ascii_char(ch)); | 5118 | 9.66k | const auto val = | 5119 | 9.66k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5120 | 9.66k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5121 | 9.66k | (val % 8)) & | 5122 | 9.66k | 1u; | 5123 | 9.66k | } |
|
5124 | | |
5125 | | bool is_char_set_in_extra_literals(char32_t cp) const |
5126 | 40.8k | { |
5127 | | // TODO: binary search? |
5128 | 40.8k | if (nonascii.extra_ranges.empty()) { |
5129 | 0 | return false; |
5130 | 0 | } |
5131 | | |
5132 | 40.8k | const auto cp_val = static_cast<uint32_t>(cp); |
5133 | 40.8k | return std::find_if( |
5134 | 40.8k | nonascii.extra_ranges.begin(), |
5135 | 40.8k | nonascii.extra_ranges.end(), |
5136 | 6.83M | [cp_val](const auto& pair) noexcept { |
5137 | 6.83M | return static_cast<uint32_t>(pair.first) <= cp_val && |
5138 | 6.83M | static_cast<uint32_t>(pair.second) > cp_val; |
5139 | 6.83M | }) != nonascii.extra_ranges.end(); auto scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5136 | 6.82M | [cp_val](const auto& pair) noexcept { | 5137 | 6.82M | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 6.82M | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 6.82M | }) != nonascii.extra_ranges.end(); |
auto scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5136 | 12.5k | [cp_val](const auto& pair) noexcept { | 5137 | 12.5k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 12.5k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 12.5k | }) != nonascii.extra_ranges.end(); |
|
5140 | 40.8k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5126 | 38.9k | { | 5127 | | // TODO: binary search? | 5128 | 38.9k | if (nonascii.extra_ranges.empty()) { | 5129 | 0 | return false; | 5130 | 0 | } | 5131 | | | 5132 | 38.9k | const auto cp_val = static_cast<uint32_t>(cp); | 5133 | 38.9k | return std::find_if( | 5134 | 38.9k | nonascii.extra_ranges.begin(), | 5135 | 38.9k | nonascii.extra_ranges.end(), | 5136 | 38.9k | [cp_val](const auto& pair) noexcept { | 5137 | 38.9k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 38.9k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 38.9k | }) != nonascii.extra_ranges.end(); | 5140 | 38.9k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5126 | 1.96k | { | 5127 | | // TODO: binary search? | 5128 | 1.96k | if (nonascii.extra_ranges.empty()) { | 5129 | 0 | return false; | 5130 | 0 | } | 5131 | | | 5132 | 1.96k | const auto cp_val = static_cast<uint32_t>(cp); | 5133 | 1.96k | return std::find_if( | 5134 | 1.96k | nonascii.extra_ranges.begin(), | 5135 | 1.96k | nonascii.extra_ranges.end(), | 5136 | 1.96k | [cp_val](const auto& pair) noexcept { | 5137 | 1.96k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 1.96k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 1.96k | }) != nonascii.extra_ranges.end(); | 5140 | 1.96k | } |
|
5141 | | |
5142 | | scan_expected<void> handle_nonascii() |
5143 | 4.24k | { |
5144 | 4.24k | if (!specs.charset_has_nonascii) { |
5145 | 846 | return {}; |
5146 | 846 | } |
5147 | | |
5148 | 3.40k | auto charset_string = specs.charset_string<SourceCharT>(); |
5149 | 3.40k | auto it = detail::to_address(charset_string.begin()); |
5150 | 3.40k | auto set = detail::parse_presentation_set( |
5151 | 3.40k | it, detail::to_address(charset_string.end()), nonascii); |
5152 | 3.40k | SCN_TRY_DISCARD(nonascii.get_error()); |
5153 | 3.40k | SCN_ENSURE(it == detail::to_address(charset_string.end())); |
5154 | 3.40k | SCN_ENSURE(set == charset_string); |
5155 | | |
5156 | 3.40k | std::sort(nonascii.extra_ranges.begin(), |
5157 | 3.40k | nonascii.extra_ranges.end()); |
5158 | 3.40k | return {}; |
5159 | 3.40k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::handle_nonascii() Line | Count | Source | 5143 | 3.33k | { | 5144 | 3.33k | if (!specs.charset_has_nonascii) { | 5145 | 582 | return {}; | 5146 | 582 | } | 5147 | | | 5148 | 2.74k | auto charset_string = specs.charset_string<SourceCharT>(); | 5149 | 2.74k | auto it = detail::to_address(charset_string.begin()); | 5150 | 2.74k | auto set = detail::parse_presentation_set( | 5151 | 2.74k | it, detail::to_address(charset_string.end()), nonascii); | 5152 | 2.74k | SCN_TRY_DISCARD(nonascii.get_error()); | 5153 | 2.74k | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5154 | 2.74k | SCN_ENSURE(set == charset_string); | 5155 | | | 5156 | 2.74k | std::sort(nonascii.extra_ranges.begin(), | 5157 | 2.74k | nonascii.extra_ranges.end()); | 5158 | 2.74k | return {}; | 5159 | 2.74k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::handle_nonascii() Line | Count | Source | 5143 | 918 | { | 5144 | 918 | if (!specs.charset_has_nonascii) { | 5145 | 264 | return {}; | 5146 | 264 | } | 5147 | | | 5148 | 654 | auto charset_string = specs.charset_string<SourceCharT>(); | 5149 | 654 | auto it = detail::to_address(charset_string.begin()); | 5150 | 654 | auto set = detail::parse_presentation_set( | 5151 | 654 | it, detail::to_address(charset_string.end()), nonascii); | 5152 | 654 | SCN_TRY_DISCARD(nonascii.get_error()); | 5153 | 654 | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5154 | 654 | SCN_ENSURE(set == charset_string); | 5155 | | | 5156 | 654 | std::sort(nonascii.extra_ranges.begin(), | 5157 | 654 | nonascii.extra_ranges.end()); | 5158 | 654 | return {}; | 5159 | 654 | } |
|
5160 | | |
5161 | | const detail::format_specs& specs; |
5162 | | nonascii_specs_handler nonascii; |
5163 | | }; |
5164 | | |
5165 | | struct read_source_callback { |
5166 | | SCN_NODISCARD bool on_ascii_only(SourceCharT ch) const |
5167 | 13.2k | { |
5168 | 13.2k | if (!is_ascii_char(ch)) { |
5169 | 1.92k | return false; |
5170 | 1.92k | } |
5171 | | |
5172 | 11.2k | return helper.is_char_set_in_literals(static_cast<char>(ch)); |
5173 | 13.2k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_ascii_only(char) const Line | Count | Source | 5167 | 10.2k | { | 5168 | 10.2k | if (!is_ascii_char(ch)) { | 5169 | 1.89k | return false; | 5170 | 1.89k | } | 5171 | | | 5172 | 8.34k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5173 | 10.2k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_ascii_only(wchar_t) const Line | Count | Source | 5167 | 2.98k | { | 5168 | 2.98k | if (!is_ascii_char(ch)) { | 5169 | 30 | return false; | 5170 | 30 | } | 5171 | | | 5172 | 2.95k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5173 | 2.98k | } |
|
5174 | | |
5175 | | SCN_NODISCARD bool on_classic_with_extra_ranges(char32_t cp) const |
5176 | 268k | { |
5177 | 268k | if (!is_ascii_char(cp)) { |
5178 | 40.8k | return helper.is_char_set_in_extra_literals(cp); |
5179 | 40.8k | } |
5180 | | |
5181 | 228k | return helper.is_char_set_in_literals(static_cast<char>(cp)); |
5182 | 268k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5176 | 260k | { | 5177 | 260k | if (!is_ascii_char(cp)) { | 5178 | 38.9k | return helper.is_char_set_in_extra_literals(cp); | 5179 | 38.9k | } | 5180 | | | 5181 | 221k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5182 | 260k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5176 | 8.67k | { | 5177 | 8.67k | if (!is_ascii_char(cp)) { | 5178 | 1.96k | return helper.is_char_set_in_extra_literals(cp); | 5179 | 1.96k | } | 5180 | | | 5181 | 6.70k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5182 | 8.67k | } |
|
5183 | | |
5184 | | const specs_helper& helper; |
5185 | | detail::locale_ref loc{}; |
5186 | | }; |
5187 | | |
5188 | | template <typename Range> |
5189 | | auto read_source_impl(Range range, specs_helper helper) const |
5190 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5191 | 4.24k | { |
5192 | 4.24k | const bool is_inverted = helper.specs.charset_is_inverted; |
5193 | 4.24k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; |
5194 | | |
5195 | 4.24k | SCN_TRY_DISCARD(helper.handle_nonascii()); |
5196 | | |
5197 | 4.24k | read_source_callback cb_wrapper{helper}; |
5198 | | |
5199 | 4.24k | if (accepts_nonascii) { |
5200 | 268k | const auto cb = [&](char32_t cp) { |
5201 | 268k | return cb_wrapper.on_classic_with_extra_ranges(cp); |
5202 | 268k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 11.8k | const auto cb = [&](char32_t cp) { | 5201 | 11.8k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 11.8k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 248k | const auto cb = [&](char32_t cp) { | 5201 | 248k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 248k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 4.29k | const auto cb = [&](char32_t cp) { | 5201 | 4.29k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 4.29k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 4.38k | const auto cb = [&](char32_t cp) { | 5201 | 4.38k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 4.38k | }; |
|
5203 | | |
5204 | 3.40k | if (is_inverted) { |
5205 | 744 | auto it = read_until_code_point(range, cb); |
5206 | 744 | return check_nonempty(it, range); |
5207 | 744 | } |
5208 | 2.65k | auto it = read_while_code_point(range, cb); |
5209 | 2.65k | return check_nonempty(it, range); |
5210 | 3.40k | } |
5211 | | |
5212 | 13.2k | const auto cb = [&](SourceCharT ch) { |
5213 | 13.2k | return cb_wrapper.on_ascii_only(ch); |
5214 | 13.2k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlcE_clEc Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlcE_clEc _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5212 | 6.94k | const auto cb = [&](SourceCharT ch) { | 5213 | 6.94k | return cb_wrapper.on_ascii_only(ch); | 5214 | 6.94k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5212 | 3.28k | const auto cb = [&](SourceCharT ch) { | 5213 | 3.28k | return cb_wrapper.on_ascii_only(ch); | 5214 | 3.28k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlwE_clEw Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlwE_clEw _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5212 | 1.53k | const auto cb = [&](SourceCharT ch) { | 5213 | 1.53k | return cb_wrapper.on_ascii_only(ch); | 5214 | 1.53k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5212 | 1.45k | const auto cb = [&](SourceCharT ch) { | 5213 | 1.45k | return cb_wrapper.on_ascii_only(ch); | 5214 | 1.45k | }; |
|
5215 | | |
5216 | 846 | if (is_inverted) { |
5217 | 408 | auto it = read_until_code_unit(range, cb); |
5218 | 408 | return check_nonempty(it, range); |
5219 | 408 | } |
5220 | 438 | auto it = read_while_code_unit(range, cb); |
5221 | 438 | return check_nonempty(it, range); |
5222 | 846 | } Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5191 | 798 | { | 5192 | 798 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 798 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 798 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 798 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 798 | if (accepts_nonascii) { | 5200 | 450 | const auto cb = [&](char32_t cp) { | 5201 | 450 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 450 | }; | 5203 | | | 5204 | 450 | if (is_inverted) { | 5205 | 222 | auto it = read_until_code_point(range, cb); | 5206 | 222 | return check_nonempty(it, range); | 5207 | 222 | } | 5208 | 228 | auto it = read_while_code_point(range, cb); | 5209 | 228 | return check_nonempty(it, range); | 5210 | 450 | } | 5211 | | | 5212 | 348 | const auto cb = [&](SourceCharT ch) { | 5213 | 348 | return cb_wrapper.on_ascii_only(ch); | 5214 | 348 | }; | 5215 | | | 5216 | 348 | if (is_inverted) { | 5217 | 174 | auto it = read_until_code_unit(range, cb); | 5218 | 174 | return check_nonempty(it, range); | 5219 | 174 | } | 5220 | 174 | auto it = read_while_code_unit(range, cb); | 5221 | 174 | return check_nonempty(it, range); | 5222 | 348 | } |
_ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5191 | 2.53k | { | 5192 | 2.53k | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 2.53k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 2.53k | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 2.53k | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 2.53k | if (accepts_nonascii) { | 5200 | 2.29k | const auto cb = [&](char32_t cp) { | 5201 | 2.29k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 2.29k | }; | 5203 | | | 5204 | 2.29k | if (is_inverted) { | 5205 | 216 | auto it = read_until_code_point(range, cb); | 5206 | 216 | return check_nonempty(it, range); | 5207 | 216 | } | 5208 | 2.08k | auto it = read_while_code_point(range, cb); | 5209 | 2.08k | return check_nonempty(it, range); | 5210 | 2.29k | } | 5211 | | | 5212 | 234 | const auto cb = [&](SourceCharT ch) { | 5213 | 234 | return cb_wrapper.on_ascii_only(ch); | 5214 | 234 | }; | 5215 | | | 5216 | 234 | if (is_inverted) { | 5217 | 102 | auto it = read_until_code_unit(range, cb); | 5218 | 102 | return check_nonempty(it, range); | 5219 | 102 | } | 5220 | 132 | auto it = read_while_code_unit(range, cb); | 5221 | 132 | return check_nonempty(it, range); | 5222 | 234 | } |
Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5191 | 426 | { | 5192 | 426 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 426 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 426 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 426 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 426 | if (accepts_nonascii) { | 5200 | 282 | const auto cb = [&](char32_t cp) { | 5201 | 282 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 282 | }; | 5203 | | | 5204 | 282 | if (is_inverted) { | 5205 | 120 | auto it = read_until_code_point(range, cb); | 5206 | 120 | return check_nonempty(it, range); | 5207 | 120 | } | 5208 | 162 | auto it = read_while_code_point(range, cb); | 5209 | 162 | return check_nonempty(it, range); | 5210 | 282 | } | 5211 | | | 5212 | 144 | const auto cb = [&](SourceCharT ch) { | 5213 | 144 | return cb_wrapper.on_ascii_only(ch); | 5214 | 144 | }; | 5215 | | | 5216 | 144 | if (is_inverted) { | 5217 | 72 | auto it = read_until_code_unit(range, cb); | 5218 | 72 | return check_nonempty(it, range); | 5219 | 72 | } | 5220 | 72 | auto it = read_while_code_unit(range, cb); | 5221 | 72 | return check_nonempty(it, range); | 5222 | 144 | } |
_ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5191 | 492 | { | 5192 | 492 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 492 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 492 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 492 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 492 | if (accepts_nonascii) { | 5200 | 372 | const auto cb = [&](char32_t cp) { | 5201 | 372 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 372 | }; | 5203 | | | 5204 | 372 | if (is_inverted) { | 5205 | 186 | auto it = read_until_code_point(range, cb); | 5206 | 186 | return check_nonempty(it, range); | 5207 | 186 | } | 5208 | 186 | auto it = read_while_code_point(range, cb); | 5209 | 186 | return check_nonempty(it, range); | 5210 | 372 | } | 5211 | | | 5212 | 120 | const auto cb = [&](SourceCharT ch) { | 5213 | 120 | return cb_wrapper.on_ascii_only(ch); | 5214 | 120 | }; | 5215 | | | 5216 | 120 | if (is_inverted) { | 5217 | 60 | auto it = read_until_code_unit(range, cb); | 5218 | 60 | return check_nonempty(it, range); | 5219 | 60 | } | 5220 | 60 | auto it = read_while_code_unit(range, cb); | 5221 | 60 | return check_nonempty(it, range); | 5222 | 120 | } |
|
5223 | | |
5224 | | template <typename Iterator, typename Range> |
5225 | | static scan_expected<Iterator> check_nonempty(const Iterator& it, |
5226 | | Range range) |
5227 | 4.24k | { |
5228 | 4.24k | if (it == range.begin()) { |
5229 | 1.14k | return detail::unexpected_scan_error( |
5230 | 1.14k | scan_error::invalid_scanned_value, |
5231 | 1.14k | "No characters matched in [character set]"); |
5232 | 1.14k | } |
5233 | | |
5234 | 3.10k | return it; |
5235 | 4.24k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 5227 | 798 | { | 5228 | 798 | if (it == range.begin()) { | 5229 | 24 | return detail::unexpected_scan_error( | 5230 | 24 | scan_error::invalid_scanned_value, | 5231 | 24 | "No characters matched in [character set]"); | 5232 | 24 | } | 5233 | | | 5234 | 774 | return it; | 5235 | 798 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<char const*, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(char const* const&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 5227 | 2.53k | { | 5228 | 2.53k | if (it == range.begin()) { | 5229 | 1.04k | return detail::unexpected_scan_error( | 5230 | 1.04k | scan_error::invalid_scanned_value, | 5231 | 1.04k | "No characters matched in [character set]"); | 5232 | 1.04k | } | 5233 | | | 5234 | 1.48k | return it; | 5235 | 2.53k | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 5227 | 426 | { | 5228 | 426 | if (it == range.begin()) { | 5229 | 24 | return detail::unexpected_scan_error( | 5230 | 24 | scan_error::invalid_scanned_value, | 5231 | 24 | "No characters matched in [character set]"); | 5232 | 24 | } | 5233 | | | 5234 | 402 | return it; | 5235 | 426 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<wchar_t const*, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(wchar_t const* const&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 5227 | 492 | { | 5228 | 492 | if (it == range.begin()) { | 5229 | 54 | return detail::unexpected_scan_error( | 5230 | 54 | scan_error::invalid_scanned_value, | 5231 | 54 | "No characters matched in [character set]"); | 5232 | 54 | } | 5233 | | | 5234 | 438 | return it; | 5235 | 492 | } |
|
5236 | | }; |
5237 | | |
5238 | | template <typename SourceCharT> |
5239 | | class string_reader |
5240 | | : public reader_base<string_reader<SourceCharT>, SourceCharT> { |
5241 | | public: |
5242 | 28.9k | constexpr string_reader() = default; scn::v4::impl::string_reader<char>::string_reader() Line | Count | Source | 5242 | 8.91k | constexpr string_reader() = default; |
scn::v4::impl::string_reader<wchar_t>::string_reader() Line | Count | Source | 5242 | 19.9k | constexpr string_reader() = default; |
|
5243 | | |
5244 | | void check_specs_impl(const detail::format_specs& specs, |
5245 | | reader_error_handler& eh) |
5246 | 9.84k | { |
5247 | 9.84k | detail::check_string_type_specs(specs, eh); |
5248 | | |
5249 | 9.84k | SCN_GCC_PUSH |
5250 | 9.84k | SCN_GCC_IGNORE("-Wswitch") |
5251 | 9.84k | SCN_GCC_IGNORE("-Wswitch-default") |
5252 | | |
5253 | 9.84k | SCN_CLANG_PUSH |
5254 | 9.84k | SCN_CLANG_IGNORE("-Wswitch") |
5255 | 9.84k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5256 | | |
5257 | 9.84k | switch (specs.type) { |
5258 | 3.01k | case detail::presentation_type::none: |
5259 | 3.01k | m_type = reader_type::word; |
5260 | 3.01k | break; |
5261 | | |
5262 | 936 | case detail::presentation_type::string: { |
5263 | 936 | if (specs.align == detail::align_type::left || |
5264 | 936 | specs.align == detail::align_type::center) { |
5265 | 618 | m_type = reader_type::custom_word; |
5266 | 618 | } |
5267 | 318 | else { |
5268 | 318 | m_type = reader_type::word; |
5269 | 318 | } |
5270 | 936 | break; |
5271 | 0 | } |
5272 | | |
5273 | 276 | case detail::presentation_type::character: |
5274 | 276 | m_type = reader_type::character; |
5275 | 276 | break; |
5276 | | |
5277 | 4.25k | case detail::presentation_type::string_set: |
5278 | 4.25k | m_type = reader_type::character_set; |
5279 | 4.25k | break; |
5280 | | |
5281 | 102 | case detail::presentation_type::regex: |
5282 | 102 | m_type = reader_type::regex; |
5283 | 102 | break; |
5284 | | |
5285 | 528 | case detail::presentation_type::regex_escaped: |
5286 | 528 | m_type = reader_type::regex_escaped; |
5287 | 528 | break; |
5288 | 9.84k | } |
5289 | | |
5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default |
5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default |
5292 | 9.84k | } scn::v4::impl::string_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5246 | 7.02k | { | 5247 | 7.02k | detail::check_string_type_specs(specs, eh); | 5248 | | | 5249 | 7.02k | SCN_GCC_PUSH | 5250 | 7.02k | SCN_GCC_IGNORE("-Wswitch") | 5251 | 7.02k | SCN_GCC_IGNORE("-Wswitch-default") | 5252 | | | 5253 | 7.02k | SCN_CLANG_PUSH | 5254 | 7.02k | SCN_CLANG_IGNORE("-Wswitch") | 5255 | 7.02k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5256 | | | 5257 | 7.02k | switch (specs.type) { | 5258 | 1.74k | case detail::presentation_type::none: | 5259 | 1.74k | m_type = reader_type::word; | 5260 | 1.74k | break; | 5261 | | | 5262 | 714 | case detail::presentation_type::string: { | 5263 | 714 | if (specs.align == detail::align_type::left || | 5264 | 714 | specs.align == detail::align_type::center) { | 5265 | 456 | m_type = reader_type::custom_word; | 5266 | 456 | } | 5267 | 258 | else { | 5268 | 258 | m_type = reader_type::word; | 5269 | 258 | } | 5270 | 714 | break; | 5271 | 0 | } | 5272 | | | 5273 | 180 | case detail::presentation_type::character: | 5274 | 180 | m_type = reader_type::character; | 5275 | 180 | break; | 5276 | | | 5277 | 3.33k | case detail::presentation_type::string_set: | 5278 | 3.33k | m_type = reader_type::character_set; | 5279 | 3.33k | break; | 5280 | | | 5281 | 102 | case detail::presentation_type::regex: | 5282 | 102 | m_type = reader_type::regex; | 5283 | 102 | break; | 5284 | | | 5285 | 528 | case detail::presentation_type::regex_escaped: | 5286 | 528 | m_type = reader_type::regex_escaped; | 5287 | 528 | break; | 5288 | 7.02k | } | 5289 | | | 5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5292 | 7.02k | } |
scn::v4::impl::string_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5246 | 2.82k | { | 5247 | 2.82k | detail::check_string_type_specs(specs, eh); | 5248 | | | 5249 | 2.82k | SCN_GCC_PUSH | 5250 | 2.82k | SCN_GCC_IGNORE("-Wswitch") | 5251 | 2.82k | SCN_GCC_IGNORE("-Wswitch-default") | 5252 | | | 5253 | 2.82k | SCN_CLANG_PUSH | 5254 | 2.82k | SCN_CLANG_IGNORE("-Wswitch") | 5255 | 2.82k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5256 | | | 5257 | 2.82k | switch (specs.type) { | 5258 | 1.27k | case detail::presentation_type::none: | 5259 | 1.27k | m_type = reader_type::word; | 5260 | 1.27k | break; | 5261 | | | 5262 | 222 | case detail::presentation_type::string: { | 5263 | 222 | if (specs.align == detail::align_type::left || | 5264 | 222 | specs.align == detail::align_type::center) { | 5265 | 162 | m_type = reader_type::custom_word; | 5266 | 162 | } | 5267 | 60 | else { | 5268 | 60 | m_type = reader_type::word; | 5269 | 60 | } | 5270 | 222 | break; | 5271 | 0 | } | 5272 | | | 5273 | 96 | case detail::presentation_type::character: | 5274 | 96 | m_type = reader_type::character; | 5275 | 96 | break; | 5276 | | | 5277 | 918 | case detail::presentation_type::string_set: | 5278 | 918 | m_type = reader_type::character_set; | 5279 | 918 | break; | 5280 | | | 5281 | 0 | case detail::presentation_type::regex: | 5282 | 0 | m_type = reader_type::regex; | 5283 | 0 | break; | 5284 | | | 5285 | 0 | case detail::presentation_type::regex_escaped: | 5286 | 0 | m_type = reader_type::regex_escaped; | 5287 | 0 | break; | 5288 | 2.82k | } | 5289 | | | 5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5292 | 2.82k | } |
|
5293 | | |
5294 | | bool skip_ws_before_read() const |
5295 | 31.9k | { |
5296 | 31.9k | return m_type == reader_type::word; |
5297 | 31.9k | } scn::v4::impl::string_reader<char>::skip_ws_before_read() const Line | Count | Source | 5295 | 11.1k | { | 5296 | 11.1k | return m_type == reader_type::word; | 5297 | 11.1k | } |
scn::v4::impl::string_reader<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5295 | 20.8k | { | 5296 | 20.8k | return m_type == reader_type::word; | 5297 | 20.8k | } |
|
5298 | | |
5299 | | template <typename Range, typename Value> |
5300 | | auto read_default(Range range, Value& value, detail::locale_ref loc) |
5301 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5302 | 19.0k | { |
5303 | 19.0k | SCN_UNUSED(loc); |
5304 | 19.0k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5305 | 19.0k | } _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
_ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 5.72k | { | 5303 | 5.72k | SCN_UNUSED(loc); | 5304 | 5.72k | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 5.72k | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 5.72k | { | 5303 | 5.72k | SCN_UNUSED(loc); | 5304 | 5.72k | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 5.72k | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 5.72k | { | 5303 | 5.72k | SCN_UNUSED(loc); | 5304 | 5.72k | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE |
5306 | | |
5307 | | template <typename Range, typename Value> |
5308 | | auto read_specs(Range range, |
5309 | | const detail::format_specs& specs, |
5310 | | Value& value, |
5311 | | detail::locale_ref loc) |
5312 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5313 | 8.95k | { |
5314 | 8.95k | SCN_UNUSED(loc); |
5315 | 8.95k | return read_impl(range, specs, value); |
5316 | 8.95k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 816 | { | 5314 | 816 | SCN_UNUSED(loc); | 5315 | 816 | return read_impl(range, specs, value); | 5316 | 816 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 1.34k | { | 5314 | 1.34k | SCN_UNUSED(loc); | 5315 | 1.34k | return read_impl(range, specs, value); | 5316 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 816 | { | 5314 | 816 | SCN_UNUSED(loc); | 5315 | 816 | return read_impl(range, specs, value); | 5316 | 816 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 1.34k | { | 5314 | 1.34k | SCN_UNUSED(loc); | 5315 | 1.34k | return read_impl(range, specs, value); | 5316 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 816 | { | 5314 | 816 | SCN_UNUSED(loc); | 5315 | 816 | return read_impl(range, specs, value); | 5316 | 816 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5313 | 1.34k | { | 5314 | 1.34k | SCN_UNUSED(loc); | 5315 | 1.34k | return read_impl(range, specs, value); | 5316 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 308 | { | 5314 | 308 | SCN_UNUSED(loc); | 5315 | 308 | return read_impl(range, specs, value); | 5316 | 308 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 518 | { | 5314 | 518 | SCN_UNUSED(loc); | 5315 | 518 | return read_impl(range, specs, value); | 5316 | 518 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 308 | { | 5314 | 308 | SCN_UNUSED(loc); | 5315 | 308 | return read_impl(range, specs, value); | 5316 | 308 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 518 | { | 5314 | 518 | SCN_UNUSED(loc); | 5315 | 518 | return read_impl(range, specs, value); | 5316 | 518 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 308 | { | 5314 | 308 | SCN_UNUSED(loc); | 5315 | 308 | return read_impl(range, specs, value); | 5316 | 308 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5313 | 518 | { | 5314 | 518 | SCN_UNUSED(loc); | 5315 | 518 | return read_impl(range, specs, value); | 5316 | 518 | } |
|
5317 | | |
5318 | | protected: |
5319 | | enum class reader_type { |
5320 | | word, |
5321 | | custom_word, |
5322 | | character, |
5323 | | character_set, |
5324 | | regex, |
5325 | | regex_escaped, |
5326 | | }; |
5327 | | |
5328 | | template <typename Range, typename Value> |
5329 | | auto read_impl(Range range, const detail::format_specs& specs, Value& value) |
5330 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5331 | 8.95k | { |
5332 | 8.95k | SCN_CLANG_PUSH |
5333 | 8.95k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5334 | | |
5335 | 8.95k | switch (m_type) { |
5336 | 3.22k | case reader_type::word: |
5337 | 3.22k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5338 | | |
5339 | 606 | case reader_type::custom_word: |
5340 | 606 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, |
5341 | 606 | value); |
5342 | | |
5343 | 252 | case reader_type::character: |
5344 | 252 | return character_reader_impl<SourceCharT>{}.read(range, value); |
5345 | | |
5346 | 4.24k | case reader_type::character_set: |
5347 | 4.24k | return character_set_reader_impl<SourceCharT>{}.read( |
5348 | 4.24k | range, specs, value); |
5349 | | |
5350 | 0 | #if !SCN_DISABLE_REGEX |
5351 | 102 | case reader_type::regex: |
5352 | 102 | return regex_string_reader_impl<SourceCharT>{}.read( |
5353 | 102 | range, specs.charset_string<SourceCharT>(), |
5354 | 102 | specs.regexp_flags, value); |
5355 | | |
5356 | 528 | case reader_type::regex_escaped: |
5357 | 528 | return regex_string_reader_impl<SourceCharT>{}.read( |
5358 | 528 | range, |
5359 | 528 | get_unescaped_regex_pattern( |
5360 | 528 | specs.charset_string<SourceCharT>()), |
5361 | 528 | specs.regexp_flags, value); |
5362 | 0 | #endif |
5363 | | |
5364 | 0 | default: |
5365 | 0 | SCN_EXPECT(false); |
5366 | 8.95k | SCN_UNREACHABLE; |
5367 | 8.95k | } |
5368 | | |
5369 | 8.95k | SCN_CLANG_POP |
5370 | 8.95k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 816 | { | 5332 | 816 | SCN_CLANG_PUSH | 5333 | 816 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 816 | switch (m_type) { | 5336 | 310 | case reader_type::word: | 5337 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 92 | case reader_type::custom_word: | 5340 | 92 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 92 | value); | 5342 | | | 5343 | 56 | case reader_type::character: | 5344 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 266 | case reader_type::character_set: | 5347 | 266 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 266 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 90 | case reader_type::regex_escaped: | 5357 | 90 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 90 | range, | 5359 | 90 | get_unescaped_regex_pattern( | 5360 | 90 | specs.charset_string<SourceCharT>()), | 5361 | 90 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 816 | SCN_UNREACHABLE; | 5367 | 816 | } | 5368 | | | 5369 | 816 | SCN_CLANG_POP | 5370 | 816 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.34k | { | 5332 | 1.34k | SCN_CLANG_PUSH | 5333 | 1.34k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.34k | switch (m_type) { | 5336 | 324 | case reader_type::word: | 5337 | 324 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 844 | case reader_type::character_set: | 5347 | 844 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 844 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 32 | case reader_type::regex: | 5352 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 32 | range, specs.charset_string<SourceCharT>(), | 5354 | 32 | specs.regexp_flags, value); | 5355 | | | 5356 | 86 | case reader_type::regex_escaped: | 5357 | 86 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 86 | range, | 5359 | 86 | get_unescaped_regex_pattern( | 5360 | 86 | specs.charset_string<SourceCharT>()), | 5361 | 86 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.34k | SCN_UNREACHABLE; | 5367 | 1.34k | } | 5368 | | | 5369 | 1.34k | SCN_CLANG_POP | 5370 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 816 | { | 5332 | 816 | SCN_CLANG_PUSH | 5333 | 816 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 816 | switch (m_type) { | 5336 | 310 | case reader_type::word: | 5337 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 92 | case reader_type::custom_word: | 5340 | 92 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 92 | value); | 5342 | | | 5343 | 56 | case reader_type::character: | 5344 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 266 | case reader_type::character_set: | 5347 | 266 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 266 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 90 | case reader_type::regex_escaped: | 5357 | 90 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 90 | range, | 5359 | 90 | get_unescaped_regex_pattern( | 5360 | 90 | specs.charset_string<SourceCharT>()), | 5361 | 90 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 816 | SCN_UNREACHABLE; | 5367 | 816 | } | 5368 | | | 5369 | 816 | SCN_CLANG_POP | 5370 | 816 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.34k | { | 5332 | 1.34k | SCN_CLANG_PUSH | 5333 | 1.34k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.34k | switch (m_type) { | 5336 | 324 | case reader_type::word: | 5337 | 324 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 844 | case reader_type::character_set: | 5347 | 844 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 844 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 32 | case reader_type::regex: | 5352 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 32 | range, specs.charset_string<SourceCharT>(), | 5354 | 32 | specs.regexp_flags, value); | 5355 | | | 5356 | 86 | case reader_type::regex_escaped: | 5357 | 86 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 86 | range, | 5359 | 86 | get_unescaped_regex_pattern( | 5360 | 86 | specs.charset_string<SourceCharT>()), | 5361 | 86 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.34k | SCN_UNREACHABLE; | 5367 | 1.34k | } | 5368 | | | 5369 | 1.34k | SCN_CLANG_POP | 5370 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 816 | { | 5332 | 816 | SCN_CLANG_PUSH | 5333 | 816 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 816 | switch (m_type) { | 5336 | 310 | case reader_type::word: | 5337 | 310 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 92 | case reader_type::custom_word: | 5340 | 92 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 92 | value); | 5342 | | | 5343 | 56 | case reader_type::character: | 5344 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 266 | case reader_type::character_set: | 5347 | 266 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 266 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 90 | case reader_type::regex_escaped: | 5357 | 90 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 90 | range, | 5359 | 90 | get_unescaped_regex_pattern( | 5360 | 90 | specs.charset_string<SourceCharT>()), | 5361 | 90 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 816 | SCN_UNREACHABLE; | 5367 | 816 | } | 5368 | | | 5369 | 816 | SCN_CLANG_POP | 5370 | 816 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.34k | { | 5332 | 1.34k | SCN_CLANG_PUSH | 5333 | 1.34k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.34k | switch (m_type) { | 5336 | 324 | case reader_type::word: | 5337 | 324 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 844 | case reader_type::character_set: | 5347 | 844 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 844 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 32 | case reader_type::regex: | 5352 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 32 | range, specs.charset_string<SourceCharT>(), | 5354 | 32 | specs.regexp_flags, value); | 5355 | | | 5356 | 86 | case reader_type::regex_escaped: | 5357 | 86 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 86 | range, | 5359 | 86 | get_unescaped_regex_pattern( | 5360 | 86 | specs.charset_string<SourceCharT>()), | 5361 | 86 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.34k | SCN_UNREACHABLE; | 5367 | 1.34k | } | 5368 | | | 5369 | 1.34k | SCN_CLANG_POP | 5370 | 1.34k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 308 | { | 5332 | 308 | SCN_CLANG_PUSH | 5333 | 308 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 308 | switch (m_type) { | 5336 | 124 | case reader_type::word: | 5337 | 124 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 14 | case reader_type::custom_word: | 5340 | 14 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 14 | value); | 5342 | | | 5343 | 28 | case reader_type::character: | 5344 | 28 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 142 | case reader_type::character_set: | 5347 | 142 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 142 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 308 | SCN_UNREACHABLE; | 5367 | 308 | } | 5368 | | | 5369 | 308 | SCN_CLANG_POP | 5370 | 308 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 518 | { | 5332 | 518 | SCN_CLANG_PUSH | 5333 | 518 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 518 | switch (m_type) { | 5336 | 316 | case reader_type::word: | 5337 | 316 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 38 | case reader_type::custom_word: | 5340 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 38 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 164 | case reader_type::character_set: | 5347 | 164 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 164 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 518 | SCN_UNREACHABLE; | 5367 | 518 | } | 5368 | | | 5369 | 518 | SCN_CLANG_POP | 5370 | 518 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 308 | { | 5332 | 308 | SCN_CLANG_PUSH | 5333 | 308 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 308 | switch (m_type) { | 5336 | 124 | case reader_type::word: | 5337 | 124 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 14 | case reader_type::custom_word: | 5340 | 14 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 14 | value); | 5342 | | | 5343 | 28 | case reader_type::character: | 5344 | 28 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 142 | case reader_type::character_set: | 5347 | 142 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 142 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 308 | SCN_UNREACHABLE; | 5367 | 308 | } | 5368 | | | 5369 | 308 | SCN_CLANG_POP | 5370 | 308 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 518 | { | 5332 | 518 | SCN_CLANG_PUSH | 5333 | 518 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 518 | switch (m_type) { | 5336 | 316 | case reader_type::word: | 5337 | 316 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 38 | case reader_type::custom_word: | 5340 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 38 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 164 | case reader_type::character_set: | 5347 | 164 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 164 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 518 | SCN_UNREACHABLE; | 5367 | 518 | } | 5368 | | | 5369 | 518 | SCN_CLANG_POP | 5370 | 518 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 308 | { | 5332 | 308 | SCN_CLANG_PUSH | 5333 | 308 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 308 | switch (m_type) { | 5336 | 124 | case reader_type::word: | 5337 | 124 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 14 | case reader_type::custom_word: | 5340 | 14 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 14 | value); | 5342 | | | 5343 | 28 | case reader_type::character: | 5344 | 28 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 142 | case reader_type::character_set: | 5347 | 142 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 142 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 308 | SCN_UNREACHABLE; | 5367 | 308 | } | 5368 | | | 5369 | 308 | SCN_CLANG_POP | 5370 | 308 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 518 | { | 5332 | 518 | SCN_CLANG_PUSH | 5333 | 518 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 518 | switch (m_type) { | 5336 | 316 | case reader_type::word: | 5337 | 316 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 38 | case reader_type::custom_word: | 5340 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 38 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 164 | case reader_type::character_set: | 5347 | 164 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 164 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 518 | SCN_UNREACHABLE; | 5367 | 518 | } | 5368 | | | 5369 | 518 | SCN_CLANG_POP | 5370 | 518 | } |
|
5371 | | |
5372 | | reader_type m_type{reader_type::word}; |
5373 | | }; |
5374 | | |
5375 | | template <typename SourceCharT> |
5376 | | class reader_impl_for_string : public string_reader<SourceCharT> {}; |
5377 | | |
5378 | | ///////////////////////////////////////////////////////////////// |
5379 | | // Boolean reader |
5380 | | ///////////////////////////////////////////////////////////////// |
5381 | | |
5382 | | struct bool_reader_base { |
5383 | | enum options_type { allow_text = 1, allow_numeric = 2 }; |
5384 | | |
5385 | 6.35k | constexpr bool_reader_base() = default; |
5386 | 1.46k | constexpr bool_reader_base(unsigned opt) : m_options(opt) {} |
5387 | | |
5388 | | template <typename Range> |
5389 | | auto read_classic(Range range, bool& value) const |
5390 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5391 | 7.73k | { |
5392 | 7.73k | scan_error err{scan_error::invalid_scanned_value, |
5393 | 7.73k | "Failed to read boolean"}; |
5394 | | |
5395 | 7.73k | if (m_options & allow_numeric) { |
5396 | 7.43k | if (auto r = read_numeric(range, value)) { |
5397 | 0 | return *r; |
5398 | 0 | } |
5399 | 7.43k | else { |
5400 | 7.43k | err = r.error(); |
5401 | 7.43k | } |
5402 | 7.43k | } |
5403 | | |
5404 | 7.73k | if (m_options & allow_text) { |
5405 | 7.62k | if (auto r = read_textual_classic(range, value)) { |
5406 | 0 | return *r; |
5407 | 0 | } |
5408 | 7.62k | else { |
5409 | 7.62k | err = r.error(); |
5410 | 7.62k | } |
5411 | 7.62k | } |
5412 | | |
5413 | 7.73k | return unexpected(err); |
5414 | 7.73k | } _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5391 | 1.03k | { | 5392 | 1.03k | scan_error err{scan_error::invalid_scanned_value, | 5393 | 1.03k | "Failed to read boolean"}; | 5394 | | | 5395 | 1.03k | if (m_options & allow_numeric) { | 5396 | 900 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 900 | else { | 5400 | 900 | err = r.error(); | 5401 | 900 | } | 5402 | 900 | } | 5403 | | | 5404 | 1.03k | if (m_options & allow_text) { | 5405 | 1.01k | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 1.01k | else { | 5409 | 1.01k | err = r.error(); | 5410 | 1.01k | } | 5411 | 1.01k | } | 5412 | | | 5413 | 1.03k | return unexpected(err); | 5414 | 1.03k | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5391 | 430 | { | 5392 | 430 | scan_error err{scan_error::invalid_scanned_value, | 5393 | 430 | "Failed to read boolean"}; | 5394 | | | 5395 | 430 | if (m_options & allow_numeric) { | 5396 | 330 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 330 | else { | 5400 | 330 | err = r.error(); | 5401 | 330 | } | 5402 | 330 | } | 5403 | | | 5404 | 430 | if (m_options & allow_text) { | 5405 | 402 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 402 | else { | 5409 | 402 | err = r.error(); | 5410 | 402 | } | 5411 | 402 | } | 5412 | | | 5413 | 430 | return unexpected(err); | 5414 | 430 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5391 | 6.11k | { | 5392 | 6.11k | scan_error err{scan_error::invalid_scanned_value, | 5393 | 6.11k | "Failed to read boolean"}; | 5394 | | | 5395 | 6.11k | if (m_options & allow_numeric) { | 5396 | 6.06k | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 6.06k | else { | 5400 | 6.06k | err = r.error(); | 5401 | 6.06k | } | 5402 | 6.06k | } | 5403 | | | 5404 | 6.11k | if (m_options & allow_text) { | 5405 | 6.07k | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 6.07k | else { | 5409 | 6.07k | err = r.error(); | 5410 | 6.07k | } | 5411 | 6.07k | } | 5412 | | | 5413 | 6.11k | return unexpected(err); | 5414 | 6.11k | } |
_ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5391 | 158 | { | 5392 | 158 | scan_error err{scan_error::invalid_scanned_value, | 5393 | 158 | "Failed to read boolean"}; | 5394 | | | 5395 | 158 | if (m_options & allow_numeric) { | 5396 | 140 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 140 | else { | 5400 | 140 | err = r.error(); | 5401 | 140 | } | 5402 | 140 | } | 5403 | | | 5404 | 158 | if (m_options & allow_text) { | 5405 | 138 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 138 | else { | 5409 | 138 | err = r.error(); | 5410 | 138 | } | 5411 | 138 | } | 5412 | | | 5413 | 158 | return unexpected(err); | 5414 | 158 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5415 | | |
5416 | | protected: |
5417 | | template <typename Range> |
5418 | | auto read_numeric(Range range, bool& value) const |
5419 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5420 | 7.49k | { |
5421 | 7.49k | if (auto r = read_matching_code_unit(range, '0')) { |
5422 | 0 | value = false; |
5423 | 0 | return *r; |
5424 | 0 | } |
5425 | 7.49k | if (auto r = read_matching_code_unit(range, '1')) { |
5426 | 0 | value = true; |
5427 | 0 | return *r; |
5428 | 0 | } |
5429 | | |
5430 | 7.49k | return detail::unexpected_scan_error( |
5431 | 7.49k | scan_error::invalid_scanned_value, |
5432 | 7.49k | "Failed to read numeric boolean value: No match"); |
5433 | 7.49k | } _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5420 | 912 | { | 5421 | 912 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 912 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 912 | return detail::unexpected_scan_error( | 5431 | 912 | scan_error::invalid_scanned_value, | 5432 | 912 | "Failed to read numeric boolean value: No match"); | 5433 | 912 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5420 | 346 | { | 5421 | 346 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 346 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 346 | return detail::unexpected_scan_error( | 5431 | 346 | scan_error::invalid_scanned_value, | 5432 | 346 | "Failed to read numeric boolean value: No match"); | 5433 | 346 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5420 | 6.08k | { | 5421 | 6.08k | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 6.08k | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 6.08k | return detail::unexpected_scan_error( | 5431 | 6.08k | scan_error::invalid_scanned_value, | 5432 | 6.08k | "Failed to read numeric boolean value: No match"); | 5433 | 6.08k | } |
_ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5420 | 158 | { | 5421 | 158 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 158 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 158 | return detail::unexpected_scan_error( | 5431 | 158 | scan_error::invalid_scanned_value, | 5432 | 158 | "Failed to read numeric boolean value: No match"); | 5433 | 158 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5434 | | |
5435 | | template <typename Range> |
5436 | | auto read_textual_classic(Range range, bool& value) const |
5437 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5438 | 7.62k | { |
5439 | 7.62k | if (auto r = read_matching_string_classic(range, "true")) { |
5440 | 0 | value = true; |
5441 | 0 | return *r; |
5442 | 0 | } |
5443 | 7.62k | if (auto r = read_matching_string_classic(range, "false")) { |
5444 | 0 | value = false; |
5445 | 0 | return *r; |
5446 | 0 | } |
5447 | | |
5448 | 7.62k | return detail::unexpected_scan_error( |
5449 | 7.62k | scan_error::invalid_scanned_value, |
5450 | 7.62k | "Failed to read textual boolean value: No match"); |
5451 | 7.62k | } _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5438 | 1.01k | { | 5439 | 1.01k | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 1.01k | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 1.01k | return detail::unexpected_scan_error( | 5449 | 1.01k | scan_error::invalid_scanned_value, | 5450 | 1.01k | "Failed to read textual boolean value: No match"); | 5451 | 1.01k | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5438 | 402 | { | 5439 | 402 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 402 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 402 | return detail::unexpected_scan_error( | 5449 | 402 | scan_error::invalid_scanned_value, | 5450 | 402 | "Failed to read textual boolean value: No match"); | 5451 | 402 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5438 | 6.07k | { | 5439 | 6.07k | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 6.07k | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 6.07k | return detail::unexpected_scan_error( | 5449 | 6.07k | scan_error::invalid_scanned_value, | 5450 | 6.07k | "Failed to read textual boolean value: No match"); | 5451 | 6.07k | } |
_ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5438 | 138 | { | 5439 | 138 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 138 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 138 | return detail::unexpected_scan_error( | 5449 | 138 | scan_error::invalid_scanned_value, | 5450 | 138 | "Failed to read textual boolean value: No match"); | 5451 | 138 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5452 | | |
5453 | | unsigned m_options{allow_text | allow_numeric}; |
5454 | | }; |
5455 | | |
5456 | | template <typename CharT> |
5457 | | struct bool_reader : public bool_reader_base { |
5458 | | using bool_reader_base::bool_reader_base; |
5459 | | |
5460 | | #if !SCN_DISABLE_LOCALE |
5461 | | template <typename Range> |
5462 | | auto read_localized(Range range, detail::locale_ref loc, bool& value) const |
5463 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5464 | 82 | { |
5465 | 82 | scan_error err{scan_error::invalid_scanned_value, |
5466 | 82 | "Failed to read boolean"}; |
5467 | | |
5468 | 82 | if (m_options & allow_numeric) { |
5469 | 68 | if (auto r = read_numeric(range, value)) { |
5470 | 0 | return *r; |
5471 | 0 | } |
5472 | 68 | else { |
5473 | 68 | err = r.error(); |
5474 | 68 | } |
5475 | 68 | } |
5476 | | |
5477 | 82 | if (m_options & allow_text) { |
5478 | 48 | auto stdloc = loc.get<std::locale>(); |
5479 | 48 | const auto& numpunct = |
5480 | 48 | get_or_add_facet<std::numpunct<CharT>>(stdloc); |
5481 | 48 | const auto truename = numpunct.truename(); |
5482 | 48 | const auto falsename = numpunct.falsename(); |
5483 | | |
5484 | 48 | if (auto r = |
5485 | 48 | read_textual_custom(range, value, truename, falsename)) { |
5486 | 0 | return *r; |
5487 | 0 | } |
5488 | 48 | else { |
5489 | 48 | err = r.error(); |
5490 | 48 | } |
5491 | 48 | } |
5492 | | |
5493 | 82 | return unexpected(err); |
5494 | 82 | } _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 20 | { | 5465 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 20 | "Failed to read boolean"}; | 5467 | | | 5468 | 20 | if (m_options & allow_numeric) { | 5469 | 16 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 16 | else { | 5473 | 16 | err = r.error(); | 5474 | 16 | } | 5475 | 16 | } | 5476 | | | 5477 | 20 | if (m_options & allow_text) { | 5478 | 16 | auto stdloc = loc.get<std::locale>(); | 5479 | 16 | const auto& numpunct = | 5480 | 16 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 16 | const auto truename = numpunct.truename(); | 5482 | 16 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 16 | if (auto r = | 5485 | 16 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 16 | else { | 5489 | 16 | err = r.error(); | 5490 | 16 | } | 5491 | 16 | } | 5492 | | | 5493 | 20 | return unexpected(err); | 5494 | 20 | } |
_ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 18 | { | 5465 | 18 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 18 | "Failed to read boolean"}; | 5467 | | | 5468 | 18 | if (m_options & allow_numeric) { | 5469 | 12 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 12 | else { | 5473 | 12 | err = r.error(); | 5474 | 12 | } | 5475 | 12 | } | 5476 | | | 5477 | 18 | if (m_options & allow_text) { | 5478 | 10 | auto stdloc = loc.get<std::locale>(); | 5479 | 10 | const auto& numpunct = | 5480 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 10 | const auto truename = numpunct.truename(); | 5482 | 10 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 10 | if (auto r = | 5485 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 10 | else { | 5489 | 10 | err = r.error(); | 5490 | 10 | } | 5491 | 10 | } | 5492 | | | 5493 | 18 | return unexpected(err); | 5494 | 18 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 20 | { | 5465 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 20 | "Failed to read boolean"}; | 5467 | | | 5468 | 20 | if (m_options & allow_numeric) { | 5469 | 18 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 18 | else { | 5473 | 18 | err = r.error(); | 5474 | 18 | } | 5475 | 18 | } | 5476 | | | 5477 | 20 | if (m_options & allow_text) { | 5478 | 10 | auto stdloc = loc.get<std::locale>(); | 5479 | 10 | const auto& numpunct = | 5480 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 10 | const auto truename = numpunct.truename(); | 5482 | 10 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 10 | if (auto r = | 5485 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 10 | else { | 5489 | 10 | err = r.error(); | 5490 | 10 | } | 5491 | 10 | } | 5492 | | | 5493 | 20 | return unexpected(err); | 5494 | 20 | } |
_ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 24 | { | 5465 | 24 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 24 | "Failed to read boolean"}; | 5467 | | | 5468 | 24 | if (m_options & allow_numeric) { | 5469 | 22 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 22 | else { | 5473 | 22 | err = r.error(); | 5474 | 22 | } | 5475 | 22 | } | 5476 | | | 5477 | 24 | if (m_options & allow_text) { | 5478 | 12 | auto stdloc = loc.get<std::locale>(); | 5479 | 12 | const auto& numpunct = | 5480 | 12 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 12 | const auto truename = numpunct.truename(); | 5482 | 12 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 12 | if (auto r = | 5485 | 12 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 12 | else { | 5489 | 12 | err = r.error(); | 5490 | 12 | } | 5491 | 12 | } | 5492 | | | 5493 | 24 | return unexpected(err); | 5494 | 24 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb |
5495 | | #endif |
5496 | | |
5497 | | protected: |
5498 | | template <typename Range> |
5499 | | auto read_textual_custom(Range range, |
5500 | | bool& value, |
5501 | | std::basic_string_view<CharT> truename, |
5502 | | std::basic_string_view<CharT> falsename) const |
5503 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5504 | 48 | { |
5505 | 48 | const auto is_truename_shorter = truename.size() <= falsename.size(); |
5506 | 48 | const auto shorter = std::pair{ |
5507 | 48 | is_truename_shorter ? truename : falsename, is_truename_shorter}; |
5508 | 48 | const auto longer = std::pair{ |
5509 | 48 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; |
5510 | | |
5511 | 48 | if (auto r = read_matching_string(range, shorter.first)) { |
5512 | 0 | value = shorter.second; |
5513 | 0 | return *r; |
5514 | 0 | } |
5515 | 48 | if (auto r = read_matching_string(range, longer.first)) { |
5516 | 0 | value = longer.second; |
5517 | 0 | return *r; |
5518 | 0 | } |
5519 | | |
5520 | 48 | return detail::unexpected_scan_error( |
5521 | 48 | scan_error::invalid_scanned_value, |
5522 | 48 | "Failed to read textual boolean: No match"); |
5523 | 48 | } _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIcNSF_11char_traitsIcEEEESR_ Line | Count | Source | 5504 | 16 | { | 5505 | 16 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 16 | const auto shorter = std::pair{ | 5507 | 16 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 16 | const auto longer = std::pair{ | 5509 | 16 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 16 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 16 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 16 | return detail::unexpected_scan_error( | 5521 | 16 | scan_error::invalid_scanned_value, | 5522 | 16 | "Failed to read textual boolean: No match"); | 5523 | 16 | } |
_ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIcNSD_11char_traitsIcEEEESP_ Line | Count | Source | 5504 | 10 | { | 5505 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 10 | const auto shorter = std::pair{ | 5507 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 10 | const auto longer = std::pair{ | 5509 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 10 | return detail::unexpected_scan_error( | 5521 | 10 | scan_error::invalid_scanned_value, | 5522 | 10 | "Failed to read textual boolean: No match"); | 5523 | 10 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIcNSI_11char_traitsIcEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIcNSG_11char_traitsIcEEEESS_ _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIwNSF_11char_traitsIwEEEESR_ Line | Count | Source | 5504 | 10 | { | 5505 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 10 | const auto shorter = std::pair{ | 5507 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 10 | const auto longer = std::pair{ | 5509 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 10 | return detail::unexpected_scan_error( | 5521 | 10 | scan_error::invalid_scanned_value, | 5522 | 10 | "Failed to read textual boolean: No match"); | 5523 | 10 | } |
_ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIwNSD_11char_traitsIwEEEESP_ Line | Count | Source | 5504 | 12 | { | 5505 | 12 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 12 | const auto shorter = std::pair{ | 5507 | 12 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 12 | const auto longer = std::pair{ | 5509 | 12 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 12 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 12 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 12 | return detail::unexpected_scan_error( | 5521 | 12 | scan_error::invalid_scanned_value, | 5522 | 12 | "Failed to read textual boolean: No match"); | 5523 | 12 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIwNSI_11char_traitsIwEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIwNSG_11char_traitsIwEEEESS_ |
5524 | | }; |
5525 | | |
5526 | | template <typename CharT> |
5527 | | class reader_impl_for_bool |
5528 | | : public reader_base<reader_impl_for_bool<CharT>, CharT> { |
5529 | | public: |
5530 | | reader_impl_for_bool() = default; |
5531 | | |
5532 | | void check_specs_impl(const detail::format_specs& specs, |
5533 | | reader_error_handler& eh) |
5534 | 3.37k | { |
5535 | 3.37k | detail::check_bool_type_specs(specs, eh); |
5536 | 3.37k | } scn::v4::impl::reader_impl_for_bool<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5534 | 2.38k | { | 5535 | 2.38k | detail::check_bool_type_specs(specs, eh); | 5536 | 2.38k | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5534 | 988 | { | 5535 | 988 | detail::check_bool_type_specs(specs, eh); | 5536 | 988 | } |
|
5537 | | |
5538 | | template <typename Range> |
5539 | | auto read_default(Range range, bool& value, detail::locale_ref loc) const |
5540 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5541 | 6.35k | { |
5542 | 6.35k | SCN_UNUSED(loc); |
5543 | | |
5544 | 6.35k | return bool_reader<CharT>{}.read_classic(range, value); |
5545 | 6.35k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5541 | 628 | { | 5542 | 628 | SCN_UNUSED(loc); | 5543 | | | 5544 | 628 | return bool_reader<CharT>{}.read_classic(range, value); | 5545 | 628 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5541 | 5.72k | { | 5542 | 5.72k | SCN_UNUSED(loc); | 5543 | | | 5544 | 5.72k | return bool_reader<CharT>{}.read_classic(range, value); | 5545 | 5.72k | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE |
5546 | | |
5547 | | template <typename Range> |
5548 | | auto read_specs(Range range, |
5549 | | const detail::format_specs& specs, |
5550 | | bool& value, |
5551 | | detail::locale_ref loc) const |
5552 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5553 | 1.46k | { |
5554 | 1.46k | const auto rd = bool_reader<CharT>{get_options(specs)}; |
5555 | | |
5556 | 1.46k | #if !SCN_DISABLE_LOCALE |
5557 | 1.46k | if (specs.localized) { |
5558 | 82 | return rd.read_localized(range, loc, value); |
5559 | 82 | } |
5560 | 1.38k | #endif |
5561 | | |
5562 | 1.38k | return rd.read_classic(range, value); |
5563 | 1.46k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5553 | 450 | { | 5554 | 450 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 450 | #if !SCN_DISABLE_LOCALE | 5557 | 450 | if (specs.localized) { | 5558 | 20 | return rd.read_localized(range, loc, value); | 5559 | 20 | } | 5560 | 430 | #endif | 5561 | | | 5562 | 430 | return rd.read_classic(range, value); | 5563 | 450 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5553 | 422 | { | 5554 | 422 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 422 | #if !SCN_DISABLE_LOCALE | 5557 | 422 | if (specs.localized) { | 5558 | 18 | return rd.read_localized(range, loc, value); | 5559 | 18 | } | 5560 | 404 | #endif | 5561 | | | 5562 | 404 | return rd.read_classic(range, value); | 5563 | 422 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5553 | 178 | { | 5554 | 178 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 178 | #if !SCN_DISABLE_LOCALE | 5557 | 178 | if (specs.localized) { | 5558 | 20 | return rd.read_localized(range, loc, value); | 5559 | 20 | } | 5560 | 158 | #endif | 5561 | | | 5562 | 158 | return rd.read_classic(range, value); | 5563 | 178 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5553 | 414 | { | 5554 | 414 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 414 | #if !SCN_DISABLE_LOCALE | 5557 | 414 | if (specs.localized) { | 5558 | 24 | return rd.read_localized(range, loc, value); | 5559 | 24 | } | 5560 | 390 | #endif | 5561 | | | 5562 | 390 | return rd.read_classic(range, value); | 5563 | 414 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE |
5564 | | |
5565 | | static constexpr unsigned get_options(const detail::format_specs& specs) |
5566 | 1.46k | { |
5567 | 1.46k | SCN_GCC_COMPAT_PUSH |
5568 | 1.46k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
5569 | | |
5570 | 1.46k | switch (specs.type) { |
5571 | 318 | case detail::presentation_type::string: |
5572 | 318 | return bool_reader_base::allow_text; |
5573 | | |
5574 | 30 | case detail::presentation_type::int_generic: |
5575 | 60 | case detail::presentation_type::int_binary: |
5576 | 74 | case detail::presentation_type::int_decimal: |
5577 | 96 | case detail::presentation_type::int_hex: |
5578 | 122 | case detail::presentation_type::int_octal: |
5579 | 140 | case detail::presentation_type::int_unsigned_decimal: |
5580 | 140 | return bool_reader_base::allow_numeric; |
5581 | | |
5582 | 1.00k | default: |
5583 | 1.00k | return bool_reader_base::allow_text | |
5584 | 1.00k | bool_reader_base::allow_numeric; |
5585 | 1.46k | } |
5586 | | |
5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
5588 | 1.46k | } scn::v4::impl::reader_impl_for_bool<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5566 | 872 | { | 5567 | 872 | SCN_GCC_COMPAT_PUSH | 5568 | 872 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5569 | | | 5570 | 872 | switch (specs.type) { | 5571 | 242 | case detail::presentation_type::string: | 5572 | 242 | return bool_reader_base::allow_text; | 5573 | | | 5574 | 14 | case detail::presentation_type::int_generic: | 5575 | 26 | case detail::presentation_type::int_binary: | 5576 | 32 | case detail::presentation_type::int_decimal: | 5577 | 42 | case detail::presentation_type::int_hex: | 5578 | 56 | case detail::presentation_type::int_octal: | 5579 | 62 | case detail::presentation_type::int_unsigned_decimal: | 5580 | 62 | return bool_reader_base::allow_numeric; | 5581 | | | 5582 | 568 | default: | 5583 | 568 | return bool_reader_base::allow_text | | 5584 | 568 | bool_reader_base::allow_numeric; | 5585 | 872 | } | 5586 | | | 5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5588 | 872 | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5566 | 592 | { | 5567 | 592 | SCN_GCC_COMPAT_PUSH | 5568 | 592 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5569 | | | 5570 | 592 | switch (specs.type) { | 5571 | 76 | case detail::presentation_type::string: | 5572 | 76 | return bool_reader_base::allow_text; | 5573 | | | 5574 | 16 | case detail::presentation_type::int_generic: | 5575 | 34 | case detail::presentation_type::int_binary: | 5576 | 42 | case detail::presentation_type::int_decimal: | 5577 | 54 | case detail::presentation_type::int_hex: | 5578 | 66 | case detail::presentation_type::int_octal: | 5579 | 78 | case detail::presentation_type::int_unsigned_decimal: | 5580 | 78 | return bool_reader_base::allow_numeric; | 5581 | | | 5582 | 438 | default: | 5583 | 438 | return bool_reader_base::allow_text | | 5584 | 438 | bool_reader_base::allow_numeric; | 5585 | 592 | } | 5586 | | | 5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5588 | 592 | } |
|
5589 | | }; |
5590 | | |
5591 | | ///////////////////////////////////////////////////////////////// |
5592 | | // Character (code unit, code point) reader |
5593 | | ///////////////////////////////////////////////////////////////// |
5594 | | |
5595 | | template <typename CharT> |
5596 | | class code_unit_reader { |
5597 | | public: |
5598 | | template <typename SourceRange> |
5599 | | auto read(const SourceRange& range, CharT& ch) |
5600 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5601 | 7.35k | { |
5602 | 7.35k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); |
5603 | 7.35k | ch = *range.begin(); |
5604 | 7.35k | return it; |
5605 | 7.35k | } Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rc Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rc _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rc Line | Count | Source | 5601 | 326 | { | 5602 | 326 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 326 | ch = *range.begin(); | 5604 | 326 | return it; | 5605 | 326 | } |
_ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rc Line | Count | Source | 5601 | 878 | { | 5602 | 878 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 878 | ch = *range.begin(); | 5604 | 878 | return it; | 5605 | 878 | } |
Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Line | Count | Source | 5601 | 122 | { | 5602 | 122 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 122 | ch = *range.begin(); | 5604 | 122 | return it; | 5605 | 122 | } |
_ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Line | Count | Source | 5601 | 6.02k | { | 5602 | 6.02k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 6.02k | ch = *range.begin(); | 5604 | 6.02k | return it; | 5605 | 6.02k | } |
|
5606 | | }; |
5607 | | |
5608 | | template <typename CharT> |
5609 | | class code_point_reader; |
5610 | | |
5611 | | template <> |
5612 | | class code_point_reader<char32_t> { |
5613 | | public: |
5614 | | template <typename SourceRange> |
5615 | | auto read(const SourceRange& range, char32_t& cp) |
5616 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5617 | 0 | { |
5618 | 0 | auto result = read_code_point_into(range); |
5619 | 0 | if (SCN_UNLIKELY(!result.is_valid())) { |
5620 | 0 | return detail::unexpected_scan_error( |
5621 | 0 | scan_error::invalid_scanned_value, "Invalid code point"); |
5622 | 0 | } |
5623 | 0 | cp = detail::decode_code_point_exhaustive_valid( |
5624 | 0 | std::basic_string_view<detail::char_t<SourceRange>>{ |
5625 | 0 | result.codepoint}); |
5626 | 0 | return result.iterator; |
5627 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi |
5628 | | }; |
5629 | | |
5630 | | template <> |
5631 | | class code_point_reader<wchar_t> { |
5632 | | public: |
5633 | | template <typename SourceRange> |
5634 | | auto read(const SourceRange& range, wchar_t& ch) |
5635 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5636 | 0 | { |
5637 | 0 | code_point_reader<char32_t> reader{}; |
5638 | 0 | char32_t cp{}; |
5639 | 0 | auto ret = reader.read(range, cp); |
5640 | 0 | if (SCN_UNLIKELY(!ret)) { |
5641 | 0 | return unexpected(ret.error()); |
5642 | 0 | } |
5643 | | |
5644 | 0 | SCN_TRY(encoded_ch, encode_code_point_as_wide_character(cp, true)); |
5645 | 0 | ch = encoded_ch; |
5646 | 0 | return *ret; |
5647 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw |
5648 | | }; |
5649 | | |
5650 | | template <typename ValueCharT> |
5651 | | class char_reader_base { |
5652 | | public: |
5653 | | constexpr char_reader_base() = default; |
5654 | | |
5655 | | bool skip_ws_before_read() const |
5656 | 8.47k | { |
5657 | 8.47k | return false; |
5658 | 8.47k | } scn::v4::impl::char_reader_base<char>::skip_ws_before_read() const Line | Count | Source | 5656 | 1.84k | { | 5657 | 1.84k | return false; | 5658 | 1.84k | } |
scn::v4::impl::char_reader_base<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5656 | 6.62k | { | 5657 | 6.62k | return false; | 5658 | 6.62k | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::skip_ws_before_read() const |
5659 | | |
5660 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5661 | 3.28k | { |
5662 | 3.28k | reader_error_handler eh{}; |
5663 | 3.28k | if constexpr (std::is_same_v<ValueCharT, char32_t>) { |
5664 | 0 | detail::check_code_point_type_specs(specs, eh); |
5665 | | } |
5666 | 3.28k | else { |
5667 | 3.28k | detail::check_char_type_specs(specs, eh); |
5668 | 3.28k | } |
5669 | 3.28k | if (SCN_UNLIKELY(!eh)) { |
5670 | 2.16k | return detail::unexpected_scan_error( |
5671 | 2.16k | scan_error::invalid_format_string, eh.m_msg); |
5672 | 2.16k | } |
5673 | 1.12k | return {}; |
5674 | 3.28k | } scn::v4::impl::char_reader_base<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5661 | 2.34k | { | 5662 | 2.34k | reader_error_handler eh{}; | 5663 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5664 | | detail::check_code_point_type_specs(specs, eh); | 5665 | | } | 5666 | 2.34k | else { | 5667 | 2.34k | detail::check_char_type_specs(specs, eh); | 5668 | 2.34k | } | 5669 | 2.34k | if (SCN_UNLIKELY(!eh)) { | 5670 | 1.70k | return detail::unexpected_scan_error( | 5671 | 1.70k | scan_error::invalid_format_string, eh.m_msg); | 5672 | 1.70k | } | 5673 | 640 | return {}; | 5674 | 2.34k | } |
scn::v4::impl::char_reader_base<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5661 | 940 | { | 5662 | 940 | reader_error_handler eh{}; | 5663 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5664 | | detail::check_code_point_type_specs(specs, eh); | 5665 | | } | 5666 | 940 | else { | 5667 | 940 | detail::check_char_type_specs(specs, eh); | 5668 | 940 | } | 5669 | 940 | if (SCN_UNLIKELY(!eh)) { | 5670 | 460 | return detail::unexpected_scan_error( | 5671 | 460 | scan_error::invalid_format_string, eh.m_msg); | 5672 | 460 | } | 5673 | 480 | return {}; | 5674 | 940 | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::check_specs(scn::v4::detail::format_specs const&) |
5675 | | }; |
5676 | | |
5677 | | template <typename CharT> |
5678 | | class reader_impl_for_char : public char_reader_base<char> { |
5679 | | public: |
5680 | | template <typename Range> |
5681 | | auto read_default(Range range, char& value, detail::locale_ref loc) |
5682 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5683 | 1.20k | { |
5684 | 1.20k | SCN_UNUSED(loc); |
5685 | 1.20k | if constexpr (std::is_same_v<CharT, char>) { |
5686 | 1.20k | return code_unit_reader<char>{}.read(range, value); |
5687 | | } |
5688 | 0 | else { |
5689 | 0 | SCN_UNUSED(range); |
5690 | 0 | SCN_EXPECT(false); |
5691 | 0 | SCN_UNREACHABLE; |
5692 | 0 | } |
5693 | 1.20k | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Line | Count | Source | 5683 | 326 | { | 5684 | 326 | SCN_UNUSED(loc); | 5685 | 326 | if constexpr (std::is_same_v<CharT, char>) { | 5686 | 326 | return code_unit_reader<char>{}.read(range, value); | 5687 | | } | 5688 | | else { | 5689 | | SCN_UNUSED(range); | 5690 | | SCN_EXPECT(false); | 5691 | | SCN_UNREACHABLE; | 5692 | | } | 5693 | 326 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Line | Count | Source | 5683 | 878 | { | 5684 | 878 | SCN_UNUSED(loc); | 5685 | 878 | if constexpr (std::is_same_v<CharT, char>) { | 5686 | 878 | return code_unit_reader<char>{}.read(range, value); | 5687 | | } | 5688 | | else { | 5689 | | SCN_UNUSED(range); | 5690 | | SCN_EXPECT(false); | 5691 | | SCN_UNREACHABLE; | 5692 | | } | 5693 | 878 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE |
5694 | | |
5695 | | template <typename Range> |
5696 | | auto read_specs(Range range, |
5697 | | const detail::format_specs& specs, |
5698 | | char& value, |
5699 | | detail::locale_ref loc) |
5700 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5701 | 634 | { |
5702 | 634 | if (specs.type == detail::presentation_type::none || |
5703 | 634 | specs.type == detail::presentation_type::character) { |
5704 | 576 | return read_default(range, value, loc); |
5705 | 576 | } |
5706 | | |
5707 | 58 | reader_impl_for_int<CharT> reader{}; |
5708 | 58 | signed char tmp_value{}; |
5709 | 58 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5710 | 58 | value = static_cast<signed char>(value); |
5711 | 58 | return ret; |
5712 | 634 | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Line | Count | Source | 5701 | 362 | { | 5702 | 362 | if (specs.type == detail::presentation_type::none || | 5703 | 362 | specs.type == detail::presentation_type::character) { | 5704 | 326 | return read_default(range, value, loc); | 5705 | 326 | } | 5706 | | | 5707 | 36 | reader_impl_for_int<CharT> reader{}; | 5708 | 36 | signed char tmp_value{}; | 5709 | 36 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5710 | 36 | value = static_cast<signed char>(value); | 5711 | 36 | return ret; | 5712 | 362 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Line | Count | Source | 5701 | 272 | { | 5702 | 272 | if (specs.type == detail::presentation_type::none || | 5703 | 272 | specs.type == detail::presentation_type::character) { | 5704 | 250 | return read_default(range, value, loc); | 5705 | 250 | } | 5706 | | | 5707 | 22 | reader_impl_for_int<CharT> reader{}; | 5708 | 22 | signed char tmp_value{}; | 5709 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5710 | 22 | value = static_cast<signed char>(value); | 5711 | 22 | return ret; | 5712 | 272 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE |
5713 | | }; |
5714 | | |
5715 | | template <typename CharT> |
5716 | | class reader_impl_for_wchar : public char_reader_base<wchar_t> { |
5717 | | public: |
5718 | | template <typename Range> |
5719 | | auto read_default(Range range, wchar_t& value, detail::locale_ref loc) |
5720 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5721 | 6.14k | { |
5722 | 6.14k | SCN_UNUSED(loc); |
5723 | 6.14k | if constexpr (std::is_same_v<CharT, char>) { |
5724 | 0 | return code_point_reader<wchar_t>{}.read(range, value); |
5725 | | } |
5726 | 6.14k | else { |
5727 | 6.14k | return code_unit_reader<wchar_t>{}.read(range, value); |
5728 | 6.14k | } |
5729 | 6.14k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Line | Count | Source | 5721 | 122 | { | 5722 | 122 | SCN_UNUSED(loc); | 5723 | | if constexpr (std::is_same_v<CharT, char>) { | 5724 | | return code_point_reader<wchar_t>{}.read(range, value); | 5725 | | } | 5726 | 122 | else { | 5727 | 122 | return code_unit_reader<wchar_t>{}.read(range, value); | 5728 | 122 | } | 5729 | 122 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Line | Count | Source | 5721 | 6.02k | { | 5722 | 6.02k | SCN_UNUSED(loc); | 5723 | | if constexpr (std::is_same_v<CharT, char>) { | 5724 | | return code_point_reader<wchar_t>{}.read(range, value); | 5725 | | } | 5726 | 6.02k | else { | 5727 | 6.02k | return code_unit_reader<wchar_t>{}.read(range, value); | 5728 | 6.02k | } | 5729 | 6.02k | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE |
5730 | | |
5731 | | template <typename Range> |
5732 | | auto read_specs(Range range, |
5733 | | const detail::format_specs& specs, |
5734 | | wchar_t& value, |
5735 | | detail::locale_ref loc) |
5736 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5737 | 478 | { |
5738 | 478 | if (specs.type == detail::presentation_type::none || |
5739 | 478 | specs.type == detail::presentation_type::character) { |
5740 | 422 | return read_default(range, value, loc); |
5741 | 422 | } |
5742 | | |
5743 | 56 | reader_impl_for_int<CharT> reader{}; |
5744 | 56 | using integer_type = |
5745 | 56 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; |
5746 | 56 | integer_type tmp_value{}; |
5747 | 56 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5748 | 56 | value = static_cast<integer_type>(value); |
5749 | 56 | return ret; |
5750 | 478 | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Line | Count | Source | 5737 | 142 | { | 5738 | 142 | if (specs.type == detail::presentation_type::none || | 5739 | 142 | specs.type == detail::presentation_type::character) { | 5740 | 122 | return read_default(range, value, loc); | 5741 | 122 | } | 5742 | | | 5743 | 20 | reader_impl_for_int<CharT> reader{}; | 5744 | 20 | using integer_type = | 5745 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5746 | 20 | integer_type tmp_value{}; | 5747 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5748 | 20 | value = static_cast<integer_type>(value); | 5749 | 20 | return ret; | 5750 | 142 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Line | Count | Source | 5737 | 336 | { | 5738 | 336 | if (specs.type == detail::presentation_type::none || | 5739 | 336 | specs.type == detail::presentation_type::character) { | 5740 | 300 | return read_default(range, value, loc); | 5741 | 300 | } | 5742 | | | 5743 | 36 | reader_impl_for_int<CharT> reader{}; | 5744 | 36 | using integer_type = | 5745 | 36 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5746 | 36 | integer_type tmp_value{}; | 5747 | 36 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5748 | 36 | value = static_cast<integer_type>(value); | 5749 | 36 | return ret; | 5750 | 336 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE |
5751 | | }; |
5752 | | |
5753 | | template <typename CharT> |
5754 | | class reader_impl_for_code_point : public char_reader_base<char32_t> { |
5755 | | public: |
5756 | | template <typename Range> |
5757 | | auto read_default(Range range, char32_t& value, detail::locale_ref loc) |
5758 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5759 | 0 | { |
5760 | 0 | SCN_UNUSED(loc); |
5761 | 0 | return code_point_reader<char32_t>{}.read(range, value); |
5762 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE |
5763 | | |
5764 | | template <typename Range> |
5765 | | auto read_specs(Range range, |
5766 | | const detail::format_specs& specs, |
5767 | | char32_t& value, |
5768 | | detail::locale_ref loc) |
5769 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5770 | 0 | { |
5771 | 0 | SCN_UNUSED(specs); |
5772 | 0 | return read_default(range, value, loc); |
5773 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE |
5774 | | }; |
5775 | | |
5776 | | ///////////////////////////////////////////////////////////////// |
5777 | | // Pointer reader |
5778 | | ///////////////////////////////////////////////////////////////// |
5779 | | |
5780 | | template <typename CharT> |
5781 | | class reader_impl_for_voidptr { |
5782 | | public: |
5783 | | constexpr reader_impl_for_voidptr() = default; |
5784 | | |
5785 | | bool skip_ws_before_read() const |
5786 | 7.36k | { |
5787 | 7.36k | return true; |
5788 | 7.36k | } scn::v4::impl::reader_impl_for_voidptr<char>::skip_ws_before_read() const Line | Count | Source | 5786 | 1.21k | { | 5787 | 1.21k | return true; | 5788 | 1.21k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5786 | 6.15k | { | 5787 | 6.15k | return true; | 5788 | 6.15k | } |
|
5789 | | |
5790 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5791 | 3.28k | { |
5792 | 3.28k | reader_error_handler eh{}; |
5793 | 3.28k | detail::check_pointer_type_specs(specs, eh); |
5794 | 3.28k | if (SCN_UNLIKELY(!eh)) { |
5795 | 2.26k | return detail::unexpected_scan_error( |
5796 | 2.26k | scan_error::invalid_format_string, eh.m_msg); |
5797 | 2.26k | } |
5798 | 1.01k | return {}; |
5799 | 3.28k | } scn::v4::impl::reader_impl_for_voidptr<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5791 | 2.34k | { | 5792 | 2.34k | reader_error_handler eh{}; | 5793 | 2.34k | detail::check_pointer_type_specs(specs, eh); | 5794 | 2.34k | if (SCN_UNLIKELY(!eh)) { | 5795 | 1.75k | return detail::unexpected_scan_error( | 5796 | 1.75k | scan_error::invalid_format_string, eh.m_msg); | 5797 | 1.75k | } | 5798 | 586 | return {}; | 5799 | 2.34k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5791 | 940 | { | 5792 | 940 | reader_error_handler eh{}; | 5793 | 940 | detail::check_pointer_type_specs(specs, eh); | 5794 | 940 | if (SCN_UNLIKELY(!eh)) { | 5795 | 510 | return detail::unexpected_scan_error( | 5796 | 510 | scan_error::invalid_format_string, eh.m_msg); | 5797 | 510 | } | 5798 | 430 | return {}; | 5799 | 940 | } |
|
5800 | | |
5801 | | template <typename Range> |
5802 | | auto read_default(Range range, void*& value, detail::locale_ref loc) |
5803 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5804 | 7.33k | { |
5805 | 7.33k | detail::format_specs specs{}; |
5806 | 7.33k | specs.type = detail::presentation_type::int_hex; |
5807 | | |
5808 | 7.33k | std::uintptr_t intvalue{}; |
5809 | 7.33k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, |
5810 | 0 | intvalue, loc)); |
5811 | 0 | value = reinterpret_cast<void*>(intvalue); |
5812 | 0 | return result; |
5813 | 7.33k | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 882 | { | 5805 | 882 | detail::format_specs specs{}; | 5806 | 882 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 882 | std::uintptr_t intvalue{}; | 5809 | 882 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 304 | { | 5805 | 304 | detail::format_specs specs{}; | 5806 | 304 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 304 | std::uintptr_t intvalue{}; | 5809 | 304 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 304 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 6.02k | { | 5805 | 6.02k | detail::format_specs specs{}; | 5806 | 6.02k | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 6.02k | std::uintptr_t intvalue{}; | 5809 | 6.02k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 6.02k | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 124 | { | 5805 | 124 | detail::format_specs specs{}; | 5806 | 124 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 124 | std::uintptr_t intvalue{}; | 5809 | 124 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 124 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE |
5814 | | |
5815 | | template <typename Range> |
5816 | | auto read_specs(Range range, |
5817 | | const detail::format_specs& specs, |
5818 | | void*& value, |
5819 | | detail::locale_ref loc) |
5820 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5821 | 984 | { |
5822 | 984 | SCN_UNUSED(specs); |
5823 | 984 | return read_default(range, value, loc); |
5824 | 984 | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5821 | 304 | { | 5822 | 304 | SCN_UNUSED(specs); | 5823 | 304 | return read_default(range, value, loc); | 5824 | 304 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5821 | 254 | { | 5822 | 254 | SCN_UNUSED(specs); | 5823 | 254 | return read_default(range, value, loc); | 5824 | 254 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5821 | 124 | { | 5822 | 124 | SCN_UNUSED(specs); | 5823 | 124 | return read_default(range, value, loc); | 5824 | 124 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5821 | 302 | { | 5822 | 302 | SCN_UNUSED(specs); | 5823 | 302 | return read_default(range, value, loc); | 5824 | 302 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE |
5825 | | }; |
5826 | | |
5827 | | ///////////////////////////////////////////////////////////////// |
5828 | | // Argument readers |
5829 | | ///////////////////////////////////////////////////////////////// |
5830 | | |
5831 | | template <typename Range> |
5832 | | auto skip_ws_before_if_required(bool is_required, Range range) |
5833 | | -> eof_expected<ranges::iterator_t<Range>> |
5834 | 57.1k | { |
5835 | 57.1k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
5836 | 0 | return unexpected(e); |
5837 | 0 | } |
5838 | | |
5839 | 57.1k | if (!is_required) { |
5840 | 6.35k | return range.begin(); |
5841 | 6.35k | } |
5842 | | |
5843 | 50.8k | return skip_classic_whitespace(range); |
5844 | 57.1k | } _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5834 | 5.65k | { | 5835 | 5.65k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5836 | 0 | return unexpected(e); | 5837 | 0 | } | 5838 | | | 5839 | 5.65k | if (!is_required) { | 5840 | 628 | return range.begin(); | 5841 | 628 | } | 5842 | | | 5843 | 5.02k | return skip_classic_whitespace(range); | 5844 | 5.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5834 | 51.5k | { | 5835 | 51.5k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5836 | 0 | return unexpected(e); | 5837 | 0 | } | 5838 | | | 5839 | 51.5k | if (!is_required) { | 5840 | 5.72k | return range.begin(); | 5841 | 5.72k | } | 5842 | | | 5843 | 45.7k | return skip_classic_whitespace(range); | 5844 | 51.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ |
5845 | | |
5846 | | template <typename T, typename CharT> |
5847 | | constexpr auto make_reader() |
5848 | 28.9k | { |
5849 | | if constexpr (std::is_same_v<T, bool>) { |
5850 | | return reader_impl_for_bool<CharT>{}; |
5851 | | } |
5852 | | else if constexpr (std::is_same_v<T, char>) { |
5853 | | return reader_impl_for_char<CharT>{}; |
5854 | | } |
5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { |
5856 | | return reader_impl_for_wchar<CharT>{}; |
5857 | | } |
5858 | | else if constexpr (std::is_same_v<T, char32_t>) { |
5859 | | return reader_impl_for_code_point<CharT>{}; |
5860 | | } |
5861 | | else if constexpr (std::is_same_v<T, std::string_view> || |
5862 | 9.63k | std::is_same_v<T, std::wstring_view>) { |
5863 | 9.63k | return reader_impl_for_string<CharT>{}; |
5864 | | } |
5865 | | else if constexpr (std::is_same_v<T, std::string> || |
5866 | 19.2k | std::is_same_v<T, std::wstring>) { |
5867 | 19.2k | return reader_impl_for_string<CharT>{}; |
5868 | | } |
5869 | | else if constexpr (std::is_same_v<T, regex_matches> || |
5870 | | std::is_same_v<T, wregex_matches>) { |
5871 | | return reader_impl_for_regex_matches<CharT>{}; |
5872 | | } |
5873 | | else if constexpr (std::is_same_v<T, void*>) { |
5874 | | return reader_impl_for_voidptr<CharT>{}; |
5875 | | } |
5876 | | else if constexpr (std::is_floating_point_v<T>) { |
5877 | | return reader_impl_for_float<CharT>{}; |
5878 | | } |
5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && |
5880 | | !std::is_same_v<T, wchar_t> && |
5881 | | !std::is_same_v<T, char32_t> && |
5882 | | !std::is_same_v<T, bool>) { |
5883 | | return reader_impl_for_int<CharT>{}; |
5884 | | } |
5885 | | else { |
5886 | | return reader_impl_for_monostate<CharT>{}; |
5887 | | } |
5888 | 28.9k | } auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>() Line | Count | Source | 5848 | 2.97k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 2.97k | std::is_same_v<T, std::wstring>) { | 5867 | 2.97k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.97k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, char>() Line | Count | Source | 5848 | 2.97k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 2.97k | std::is_same_v<T, std::wstring>) { | 5867 | 2.97k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.97k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>() Line | Count | Source | 5848 | 2.97k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | 2.97k | std::is_same_v<T, std::wstring_view>) { | 5863 | 2.97k | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | | std::is_same_v<T, std::wstring>) { | 5867 | | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.97k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, char>() auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, wchar_t>() Line | Count | Source | 5848 | 6.66k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 6.66k | std::is_same_v<T, std::wstring>) { | 5867 | 6.66k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 6.66k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, wchar_t>() Line | Count | Source | 5848 | 6.66k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 6.66k | std::is_same_v<T, std::wstring>) { | 5867 | 6.66k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 6.66k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, wchar_t>() auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>() Line | Count | Source | 5848 | 6.66k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | 6.66k | std::is_same_v<T, std::wstring_view>) { | 5863 | 6.66k | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | | std::is_same_v<T, std::wstring>) { | 5867 | | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 6.66k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, wchar_t>() |
5889 | | |
5890 | | template <typename Context> |
5891 | | struct default_arg_reader { |
5892 | | using context_type = Context; |
5893 | | using char_type = typename context_type::char_type; |
5894 | | using args_type = basic_scan_args<detail::default_context<char_type>>; |
5895 | | |
5896 | | using range_type = typename context_type::range_type; |
5897 | | using iterator = ranges::iterator_t<range_type>; |
5898 | | |
5899 | | template <typename Reader, typename Range, typename T> |
5900 | | auto impl(Reader& rd, Range rng, T& value) |
5901 | | -> scan_expected<ranges::iterator_t<Range>> |
5902 | 57.1k | { |
5903 | 57.1k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) |
5904 | 57.1k | .transform_error(make_eof_scan_error)); |
5905 | 57.1k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); |
5906 | 57.1k | } Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSC_IwNSD_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 5.72k | { | 5903 | 5.72k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 5.72k | .transform_error(make_eof_scan_error)); | 5905 | 5.72k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 5.72k | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSC_IcNSD_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ |
5907 | | |
5908 | | template <typename T> |
5909 | | scan_expected<iterator> operator()(T& value) |
5910 | 57.1k | { |
5911 | | if constexpr (!detail::is_type_disabled<T> && |
5912 | | std::is_same_v< |
5913 | | context_type, |
5914 | 57.1k | basic_contiguous_scan_context<char_type>>) { |
5915 | 57.1k | auto rd = make_reader<T, char_type>(); |
5916 | 57.1k | return impl(rd, range, value); |
5917 | | } |
5918 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
5919 | 0 | auto rd = make_reader<T, char_type>(); |
5920 | 0 | if (!is_segment_contiguous(range)) { |
5921 | 0 | return impl(rd, range, value); |
5922 | 0 | } |
5923 | 0 | auto crange = get_as_contiguous(range); |
5924 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
5925 | 0 | return ranges::next(range.begin(), |
5926 | 0 | ranges::distance(crange.begin(), it)); |
5927 | | } |
5928 | | else { |
5929 | | SCN_EXPECT(false); |
5930 | | SCN_UNREACHABLE; |
5931 | | } |
5932 | 57.1k | } Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5910 | 5.72k | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 5.72k | basic_contiguous_scan_context<char_type>>) { | 5915 | 5.72k | auto rd = make_reader<T, char_type>(); | 5916 | 5.72k | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 5.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) |
5933 | | |
5934 | | detail::default_context<char_type> make_custom_ctx() |
5935 | 0 | { |
5936 | | if constexpr (std::is_same_v< |
5937 | | context_type, |
5938 | 0 | basic_contiguous_scan_context<char_type>>) { |
5939 | 0 | auto it = |
5940 | 0 | typename detail::basic_scan_buffer<char_type>::forward_iterator{ |
5941 | 0 | std::basic_string_view<char_type>(range.data(), |
5942 | 0 | range.size()), |
5943 | 0 | 0}; |
5944 | 0 | return {it, args, loc}; |
5945 | | } |
5946 | 0 | else { |
5947 | 0 | return {range.begin(), args, loc}; |
5948 | 0 | } |
5949 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::make_custom_ctx() |
5950 | | |
5951 | | scan_expected<iterator> operator()( |
5952 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
5953 | 0 | { |
5954 | 0 | if constexpr (!detail::is_type_disabled<void>) { |
5955 | 0 | basic_scan_parse_context<char_type> parse_ctx{{}}; |
5956 | 0 | auto ctx = make_custom_ctx(); |
5957 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
5958 | |
|
5959 | | if constexpr (std::is_same_v< |
5960 | | context_type, |
5961 | 0 | basic_contiguous_scan_context<char_type>>) { |
5962 | 0 | return range.begin() + ctx.begin().position(); |
5963 | | } |
5964 | 0 | else { |
5965 | 0 | return ctx.begin(); |
5966 | 0 | } |
5967 | | } |
5968 | | else { |
5969 | | SCN_EXPECT(false); |
5970 | | SCN_UNREACHABLE; |
5971 | | } |
5972 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) |
5973 | | |
5974 | | range_type range; |
5975 | | args_type args; |
5976 | | detail::locale_ref loc; |
5977 | | }; |
5978 | | |
5979 | | template <typename Iterator> |
5980 | | using skip_fill_result = std::pair<Iterator, std::ptrdiff_t>; |
5981 | | |
5982 | | template <typename Range> |
5983 | | auto skip_fill(Range range, |
5984 | | std::ptrdiff_t max_width, |
5985 | | const detail::fill_type& fill, |
5986 | | bool want_skipped_width) |
5987 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
5988 | 2.88k | { |
5989 | 2.88k | using char_type = detail::char_t<Range>; |
5990 | 2.88k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
5991 | | |
5992 | 2.88k | if (fill.size() <= sizeof(char_type)) { |
5993 | 1.73k | const auto fill_ch = fill.template get_code_unit<char_type>(); |
5994 | 2.91k | const auto pred = [=](char_type ch) { return ch == fill_ch; };Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlcE_clEc _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5994 | 920 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlwE_clEw _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5994 | 952 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5994 | 696 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5994 | 348 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
|
5995 | | |
5996 | 1.73k | if (max_width == 0) { |
5997 | 852 | auto it = read_while_code_unit(range, pred); |
5998 | | |
5999 | 852 | if (want_skipped_width) { |
6000 | 184 | auto prefix_width = |
6001 | 184 | static_cast<std::ptrdiff_t>( |
6002 | 184 | calculate_text_width(static_cast<char32_t>(fill_ch))) * |
6003 | 184 | ranges::distance(range.begin(), it); |
6004 | 184 | return result_type{it, prefix_width}; |
6005 | 184 | } |
6006 | 668 | return result_type{it, 0}; |
6007 | 852 | } |
6008 | | |
6009 | 884 | auto max_width_view = take_width(range, max_width); |
6010 | 884 | auto w_it = read_while_code_unit(max_width_view, pred); |
6011 | | |
6012 | 884 | if (want_skipped_width) { |
6013 | 884 | return result_type{w_it.base(), max_width - w_it.count()}; |
6014 | 884 | } |
6015 | 0 | return result_type{w_it.base(), 0}; |
6016 | 884 | } |
6017 | | |
6018 | 1.15k | const auto fill_chars = fill.template get_code_units<char_type>(); |
6019 | 1.15k | if (max_width == 0) { |
6020 | 258 | auto it = read_while_code_units(range, fill_chars); |
6021 | | |
6022 | 258 | if (want_skipped_width) { |
6023 | 76 | auto prefix_width = |
6024 | 76 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * |
6025 | 76 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); |
6026 | 76 | return result_type{it, prefix_width}; |
6027 | 76 | } |
6028 | 182 | return result_type{it, 0}; |
6029 | 258 | } |
6030 | | |
6031 | 894 | auto max_width_view = take_width(range, max_width); |
6032 | 894 | auto w_it = read_while_code_units(max_width_view, fill_chars); |
6033 | | |
6034 | 894 | if (want_skipped_width) { |
6035 | 894 | return result_type{w_it.base(), max_width - w_it.count()}; |
6036 | 894 | } |
6037 | 0 | return result_type{w_it.base(), 0}; |
6038 | 894 | } Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 1.05k | { | 5989 | 1.05k | using char_type = detail::char_t<Range>; | 5990 | 1.05k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 1.05k | if (fill.size() <= sizeof(char_type)) { | 5993 | 502 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 502 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 502 | if (max_width == 0) { | 5997 | 398 | auto it = read_while_code_unit(range, pred); | 5998 | | | 5999 | 398 | if (want_skipped_width) { | 6000 | 118 | auto prefix_width = | 6001 | 118 | static_cast<std::ptrdiff_t>( | 6002 | 118 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 118 | ranges::distance(range.begin(), it); | 6004 | 118 | return result_type{it, prefix_width}; | 6005 | 118 | } | 6006 | 280 | return result_type{it, 0}; | 6007 | 398 | } | 6008 | | | 6009 | 104 | auto max_width_view = take_width(range, max_width); | 6010 | 104 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 104 | if (want_skipped_width) { | 6013 | 104 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 104 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 104 | } | 6017 | | | 6018 | 548 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 548 | if (max_width == 0) { | 6020 | 258 | auto it = read_while_code_units(range, fill_chars); | 6021 | | | 6022 | 258 | if (want_skipped_width) { | 6023 | 76 | auto prefix_width = | 6024 | 76 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 76 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 76 | return result_type{it, prefix_width}; | 6027 | 76 | } | 6028 | 182 | return result_type{it, 0}; | 6029 | 258 | } | 6030 | | | 6031 | 290 | auto max_width_view = take_width(range, max_width); | 6032 | 290 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | | | 6034 | 290 | if (want_skipped_width) { | 6035 | 290 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 290 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 290 | } |
Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 512 | { | 5989 | 512 | using char_type = detail::char_t<Range>; | 5990 | 512 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 512 | if (fill.size() <= sizeof(char_type)) { | 5993 | 512 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 512 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 512 | if (max_width == 0) { | 5997 | 454 | auto it = read_while_code_unit(range, pred); | 5998 | | | 5999 | 454 | if (want_skipped_width) { | 6000 | 66 | auto prefix_width = | 6001 | 66 | static_cast<std::ptrdiff_t>( | 6002 | 66 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 66 | ranges::distance(range.begin(), it); | 6004 | 66 | return result_type{it, prefix_width}; | 6005 | 66 | } | 6006 | 388 | return result_type{it, 0}; | 6007 | 454 | } | 6008 | | | 6009 | 58 | auto max_width_view = take_width(range, max_width); | 6010 | 58 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 58 | if (want_skipped_width) { | 6013 | 58 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 58 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 58 | } | 6017 | | | 6018 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 0 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 0 | auto max_width_view = take_width(range, max_width); | 6032 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | |
| 6034 | 0 | if (want_skipped_width) { | 6035 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 0 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 0 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 1.08k | { | 5989 | 1.08k | using char_type = detail::char_t<Range>; | 5990 | 1.08k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 1.08k | if (fill.size() <= sizeof(char_type)) { | 5993 | 480 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 480 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 480 | if (max_width == 0) { | 5997 | 0 | auto it = read_while_code_unit(range, pred); | 5998 | |
| 5999 | 0 | if (want_skipped_width) { | 6000 | 0 | auto prefix_width = | 6001 | 0 | static_cast<std::ptrdiff_t>( | 6002 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 0 | ranges::distance(range.begin(), it); | 6004 | 0 | return result_type{it, prefix_width}; | 6005 | 0 | } | 6006 | 0 | return result_type{it, 0}; | 6007 | 0 | } | 6008 | | | 6009 | 480 | auto max_width_view = take_width(range, max_width); | 6010 | 480 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 480 | if (want_skipped_width) { | 6013 | 480 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 480 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 480 | } | 6017 | | | 6018 | 604 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 604 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 604 | auto max_width_view = take_width(range, max_width); | 6032 | 604 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | | | 6034 | 604 | if (want_skipped_width) { | 6035 | 604 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 604 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 604 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 242 | { | 5989 | 242 | using char_type = detail::char_t<Range>; | 5990 | 242 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 242 | if (fill.size() <= sizeof(char_type)) { | 5993 | 242 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 242 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 242 | if (max_width == 0) { | 5997 | 0 | auto it = read_while_code_unit(range, pred); | 5998 | |
| 5999 | 0 | if (want_skipped_width) { | 6000 | 0 | auto prefix_width = | 6001 | 0 | static_cast<std::ptrdiff_t>( | 6002 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 0 | ranges::distance(range.begin(), it); | 6004 | 0 | return result_type{it, prefix_width}; | 6005 | 0 | } | 6006 | 0 | return result_type{it, 0}; | 6007 | 0 | } | 6008 | | | 6009 | 242 | auto max_width_view = take_width(range, max_width); | 6010 | 242 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 242 | if (want_skipped_width) { | 6013 | 242 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 242 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 242 | } | 6017 | | | 6018 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 0 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 0 | auto max_width_view = take_width(range, max_width); | 6032 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | |
| 6034 | 0 | if (want_skipped_width) { | 6035 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 0 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 0 | } |
|
6039 | | |
6040 | | SCN_MAYBE_UNUSED constexpr scan_expected<void> check_widths_for_arg_reader( |
6041 | | const detail::format_specs& specs, |
6042 | | std::ptrdiff_t prefix_width, |
6043 | | std::ptrdiff_t value_width, |
6044 | | std::ptrdiff_t postfix_width) |
6045 | 6.78k | { |
6046 | 6.78k | if (specs.width != 0) { |
6047 | 1.90k | if (prefix_width + value_width + postfix_width < specs.width) { |
6048 | 884 | return detail::unexpected_scan_error( |
6049 | 884 | scan_error::length_too_short, |
6050 | 884 | "Scanned value too narrow, width did not exceed what " |
6051 | 884 | "was specified in the format string"); |
6052 | 884 | } |
6053 | 1.90k | } |
6054 | 5.90k | if (specs.precision != 0) { |
6055 | | // Ensured by take_width_view |
6056 | 2.49k | SCN_ENSURE(prefix_width + value_width + postfix_width <= |
6057 | 2.49k | specs.precision); |
6058 | 2.49k | } |
6059 | 5.90k | return {}; |
6060 | 5.90k | } |
6061 | | |
6062 | | template <typename Context> |
6063 | | struct arg_reader { |
6064 | | using context_type = Context; |
6065 | | using char_type = typename context_type::char_type; |
6066 | | |
6067 | | using range_type = typename context_type::range_type; |
6068 | | using iterator = ranges::iterator_t<range_type>; |
6069 | | |
6070 | | template <typename Range> |
6071 | | auto impl_prefix(Range rng, bool rd_skip_ws_before_read) |
6072 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6073 | 16.2k | { |
6074 | 16.2k | const bool need_skipped_width = |
6075 | 16.2k | specs.width != 0 || specs.precision != 0; |
6076 | 16.2k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6077 | | |
6078 | | // Read prefix |
6079 | 16.2k | if (specs.align == detail::align_type::right || |
6080 | 16.2k | specs.align == detail::align_type::center) { |
6081 | 2.11k | return skip_fill(rng, specs.precision, specs.fill, |
6082 | 2.11k | need_skipped_width); |
6083 | 2.11k | } |
6084 | 14.1k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { |
6085 | | // Default alignment: |
6086 | | // Skip preceding whitespace, if required by the reader |
6087 | 7.33k | if (specs.precision != 0) { |
6088 | 3.26k | auto max_width_view = take_width(rng, specs.precision); |
6089 | 3.26k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) |
6090 | 3.00k | .transform_error(make_eof_scan_error)); |
6091 | 3.00k | return result_type{w_it.base(), specs.precision - w_it.count()}; |
6092 | 3.26k | } |
6093 | 8.13k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( |
6094 | 8.13k | make_eof_scan_error)); |
6095 | | |
6096 | 8.13k | if (need_skipped_width) { |
6097 | 2.80k | return result_type{ |
6098 | 2.80k | it, |
6099 | 2.80k | calculate_text_width(make_contiguous_buffer( |
6100 | 2.80k | ranges::subrange{rng.begin(), it}) |
6101 | 2.80k | .view())}; |
6102 | 2.80k | } |
6103 | 1.26k | return result_type{it, 0}; |
6104 | 8.13k | } |
6105 | | |
6106 | 6.82k | return result_type{rng.begin(), 0}; |
6107 | 14.1k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6073 | 4.90k | { | 6074 | 4.90k | const bool need_skipped_width = | 6075 | 4.90k | specs.width != 0 || specs.precision != 0; | 6076 | 4.90k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 4.90k | if (specs.align == detail::align_type::right || | 6080 | 4.90k | specs.align == detail::align_type::center) { | 6081 | 1.08k | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 1.08k | need_skipped_width); | 6083 | 1.08k | } | 6084 | 3.82k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 2.28k | if (specs.precision != 0) { | 6088 | 2.28k | auto max_width_view = take_width(rng, specs.precision); | 6089 | 2.28k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 2.04k | .transform_error(make_eof_scan_error)); | 6091 | 2.04k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 2.28k | } | 6093 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 0 | make_eof_scan_error)); | 6095 | |
| 6096 | 0 | if (need_skipped_width) { | 6097 | 0 | return result_type{ | 6098 | 0 | it, | 6099 | 0 | calculate_text_width(make_contiguous_buffer( | 6100 | 0 | ranges::subrange{rng.begin(), it}) | 6101 | 0 | .view())}; | 6102 | 0 | } | 6103 | 0 | return result_type{it, 0}; | 6104 | 0 | } | 6105 | | | 6106 | 1.54k | return result_type{rng.begin(), 0}; | 6107 | 3.82k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6073 | 5.82k | { | 6074 | 5.82k | const bool need_skipped_width = | 6075 | 5.82k | specs.width != 0 || specs.precision != 0; | 6076 | 5.82k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 5.82k | if (specs.align == detail::align_type::right || | 6080 | 5.82k | specs.align == detail::align_type::center) { | 6081 | 446 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 446 | need_skipped_width); | 6083 | 446 | } | 6084 | 5.38k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 1.69k | if (specs.precision != 0) { | 6088 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 0 | .transform_error(make_eof_scan_error)); | 6091 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 0 | } | 6093 | 3.38k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 3.38k | make_eof_scan_error)); | 6095 | | | 6096 | 3.38k | if (need_skipped_width) { | 6097 | 1.06k | return result_type{ | 6098 | 1.06k | it, | 6099 | 1.06k | calculate_text_width(make_contiguous_buffer( | 6100 | 1.06k | ranges::subrange{rng.begin(), it}) | 6101 | 1.06k | .view())}; | 6102 | 1.06k | } | 6103 | 630 | return result_type{it, 0}; | 6104 | 3.38k | } | 6105 | | | 6106 | 3.69k | return result_type{rng.begin(), 0}; | 6107 | 5.38k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6073 | 1.88k | { | 6074 | 1.88k | const bool need_skipped_width = | 6075 | 1.88k | specs.width != 0 || specs.precision != 0; | 6076 | 1.88k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 1.88k | if (specs.align == detail::align_type::right || | 6080 | 1.88k | specs.align == detail::align_type::center) { | 6081 | 242 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 242 | need_skipped_width); | 6083 | 242 | } | 6084 | 1.64k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 980 | if (specs.precision != 0) { | 6088 | 980 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 980 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 956 | .transform_error(make_eof_scan_error)); | 6091 | 956 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 980 | } | 6093 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 0 | make_eof_scan_error)); | 6095 | |
| 6096 | 0 | if (need_skipped_width) { | 6097 | 0 | return result_type{ | 6098 | 0 | it, | 6099 | 0 | calculate_text_width(make_contiguous_buffer( | 6100 | 0 | ranges::subrange{rng.begin(), it}) | 6101 | 0 | .view())}; | 6102 | 0 | } | 6103 | 0 | return result_type{it, 0}; | 6104 | 0 | } | 6105 | | | 6106 | 662 | return result_type{rng.begin(), 0}; | 6107 | 1.64k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6073 | 3.65k | { | 6074 | 3.65k | const bool need_skipped_width = | 6075 | 3.65k | specs.width != 0 || specs.precision != 0; | 6076 | 3.65k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 3.65k | if (specs.align == detail::align_type::right || | 6080 | 3.65k | specs.align == detail::align_type::center) { | 6081 | 346 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 346 | need_skipped_width); | 6083 | 346 | } | 6084 | 3.31k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 2.37k | if (specs.precision != 0) { | 6088 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 0 | .transform_error(make_eof_scan_error)); | 6091 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 0 | } | 6093 | 4.74k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 4.74k | make_eof_scan_error)); | 6095 | | | 6096 | 4.74k | if (need_skipped_width) { | 6097 | 1.74k | return result_type{ | 6098 | 1.74k | it, | 6099 | 1.74k | calculate_text_width(make_contiguous_buffer( | 6100 | 1.74k | ranges::subrange{rng.begin(), it}) | 6101 | 1.74k | .view())}; | 6102 | 1.74k | } | 6103 | 630 | return result_type{it, 0}; | 6104 | 4.74k | } | 6105 | | | 6106 | 936 | return result_type{rng.begin(), 0}; | 6107 | 3.31k | } |
|
6108 | | |
6109 | | template <typename Range> |
6110 | | auto impl_postfix(Range rng, |
6111 | | bool rd_skip_ws_before_read, |
6112 | | std::ptrdiff_t prefix_width, |
6113 | | std::ptrdiff_t value_width) |
6114 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6115 | 4.84k | { |
6116 | 4.84k | const bool need_skipped_width = |
6117 | 4.84k | specs.width != 0 || specs.precision != 0; |
6118 | 4.84k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6119 | | |
6120 | 4.84k | if (specs.align == detail::align_type::left || |
6121 | 4.84k | specs.align == detail::align_type::center) { |
6122 | 962 | if (specs.precision != 0 && |
6123 | 962 | specs.precision - value_width - prefix_width == 0) { |
6124 | 192 | return result_type{rng.begin(), 0}; |
6125 | 192 | } |
6126 | 770 | return skip_fill(rng, specs.precision - value_width - prefix_width, |
6127 | 770 | specs.fill, need_skipped_width); |
6128 | 962 | } |
6129 | 3.88k | if (specs.align == detail::align_type::none && |
6130 | 3.88k | !rd_skip_ws_before_read && |
6131 | 3.88k | ((specs.width != 0 && prefix_width + value_width < specs.width) || |
6132 | 3.15k | (specs.precision != 0 && |
6133 | 2.64k | prefix_width + value_width < specs.precision))) { |
6134 | 1.42k | if (specs.precision != 0) { |
6135 | 906 | const auto initial_width = |
6136 | 906 | specs.precision - prefix_width - value_width; |
6137 | 906 | auto max_width_view = take_width(rng, initial_width); |
6138 | 906 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) |
6139 | 906 | .transform_error(make_eof_scan_error)); |
6140 | 906 | return result_type{w_it.base(), initial_width - w_it.count()}; |
6141 | 906 | } |
6142 | 1.03k | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( |
6143 | 1.03k | make_eof_scan_error)); |
6144 | | |
6145 | 1.03k | if (need_skipped_width) { |
6146 | 516 | return result_type{ |
6147 | 516 | it, |
6148 | 516 | calculate_text_width(make_contiguous_buffer( |
6149 | 516 | ranges::subrange{rng.begin(), it}) |
6150 | 516 | .view())}; |
6151 | 516 | } |
6152 | 0 | return result_type{it, 0}; |
6153 | 1.03k | } |
6154 | 2.46k | return result_type{rng.begin(), 0}; |
6155 | 3.88k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6115 | 3.22k | { | 6116 | 3.22k | const bool need_skipped_width = | 6117 | 3.22k | specs.width != 0 || specs.precision != 0; | 6118 | 3.22k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6119 | | | 6120 | 3.22k | if (specs.align == detail::align_type::left || | 6121 | 3.22k | specs.align == detail::align_type::center) { | 6122 | 738 | if (specs.precision != 0 && | 6123 | 738 | specs.precision - value_width - prefix_width == 0) { | 6124 | 134 | return result_type{rng.begin(), 0}; | 6125 | 134 | } | 6126 | 604 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6127 | 604 | specs.fill, need_skipped_width); | 6128 | 738 | } | 6129 | 2.49k | if (specs.align == detail::align_type::none && | 6130 | 2.49k | !rd_skip_ws_before_read && | 6131 | 2.49k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6132 | 2.02k | (specs.precision != 0 && | 6133 | 1.84k | prefix_width + value_width < specs.precision))) { | 6134 | 712 | if (specs.precision != 0) { | 6135 | 534 | const auto initial_width = | 6136 | 534 | specs.precision - prefix_width - value_width; | 6137 | 534 | auto max_width_view = take_width(rng, initial_width); | 6138 | 534 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6139 | 534 | .transform_error(make_eof_scan_error)); | 6140 | 534 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6141 | 534 | } | 6142 | 356 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6143 | 356 | make_eof_scan_error)); | 6144 | | | 6145 | 356 | if (need_skipped_width) { | 6146 | 178 | return result_type{ | 6147 | 178 | it, | 6148 | 178 | calculate_text_width(make_contiguous_buffer( | 6149 | 178 | ranges::subrange{rng.begin(), it}) | 6150 | 178 | .view())}; | 6151 | 178 | } | 6152 | 0 | return result_type{it, 0}; | 6153 | 356 | } | 6154 | 1.77k | return result_type{rng.begin(), 0}; | 6155 | 2.49k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6115 | 1.61k | { | 6116 | 1.61k | const bool need_skipped_width = | 6117 | 1.61k | specs.width != 0 || specs.precision != 0; | 6118 | 1.61k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6119 | | | 6120 | 1.61k | if (specs.align == detail::align_type::left || | 6121 | 1.61k | specs.align == detail::align_type::center) { | 6122 | 224 | if (specs.precision != 0 && | 6123 | 224 | specs.precision - value_width - prefix_width == 0) { | 6124 | 58 | return result_type{rng.begin(), 0}; | 6125 | 58 | } | 6126 | 166 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6127 | 166 | specs.fill, need_skipped_width); | 6128 | 224 | } | 6129 | 1.39k | if (specs.align == detail::align_type::none && | 6130 | 1.39k | !rd_skip_ws_before_read && | 6131 | 1.39k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6132 | 1.13k | (specs.precision != 0 && | 6133 | 794 | prefix_width + value_width < specs.precision))) { | 6134 | 710 | if (specs.precision != 0) { | 6135 | 372 | const auto initial_width = | 6136 | 372 | specs.precision - prefix_width - value_width; | 6137 | 372 | auto max_width_view = take_width(rng, initial_width); | 6138 | 372 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6139 | 372 | .transform_error(make_eof_scan_error)); | 6140 | 372 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6141 | 372 | } | 6142 | 676 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6143 | 676 | make_eof_scan_error)); | 6144 | | | 6145 | 676 | if (need_skipped_width) { | 6146 | 338 | return result_type{ | 6147 | 338 | it, | 6148 | 338 | calculate_text_width(make_contiguous_buffer( | 6149 | 338 | ranges::subrange{rng.begin(), it}) | 6150 | 338 | .view())}; | 6151 | 338 | } | 6152 | 0 | return result_type{it, 0}; | 6153 | 676 | } | 6154 | 682 | return result_type{rng.begin(), 0}; | 6155 | 1.39k | } |
|
6156 | | |
6157 | | template <typename Reader, typename Range, typename T> |
6158 | | auto impl(Reader& rd, Range rng, T& value) |
6159 | | -> scan_expected<ranges::iterator_t<Range>> |
6160 | 16.2k | { |
6161 | 16.2k | const bool need_skipped_width = |
6162 | 16.2k | specs.width != 0 || specs.precision != 0; |
6163 | | |
6164 | | // Read prefix |
6165 | 16.2k | auto it = rng.begin(); |
6166 | 16.2k | std::ptrdiff_t prefix_width = 0; |
6167 | 16.2k | if (specs.precision != 0) { |
6168 | 6.79k | auto max_width_view = take_width(rng, specs.precision); |
6169 | 6.79k | SCN_TRY(prefix_result, |
6170 | 6.53k | impl_prefix(max_width_view, rd.skip_ws_before_read())); |
6171 | 6.53k | it = prefix_result.first.base(); |
6172 | 6.53k | prefix_width = prefix_result.second; |
6173 | 6.53k | } |
6174 | 9.48k | else { |
6175 | 9.48k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); |
6176 | 9.48k | std::tie(it, prefix_width) = prefix_result; |
6177 | 9.48k | } |
6178 | 16.0k | auto prefix_end_it = it; |
6179 | | |
6180 | | // Read value |
6181 | 16.0k | std::ptrdiff_t value_width = 0; |
6182 | 16.0k | if (specs.precision != 0) { |
6183 | 6.53k | if (specs.precision <= prefix_width) { |
6184 | 104 | return detail::unexpected_scan_error( |
6185 | 104 | scan_error::invalid_fill, |
6186 | 104 | "Too many fill characters before value, " |
6187 | 104 | "precision exceeded before reading value"); |
6188 | 104 | } |
6189 | | |
6190 | 6.42k | const auto initial_width = specs.precision - prefix_width; |
6191 | 6.42k | auto max_width_view = |
6192 | 6.42k | take_width(ranges::subrange{it, rng.end()}, initial_width); |
6193 | 6.42k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); |
6194 | 2.49k | it = w_it.base(); |
6195 | 2.49k | value_width = initial_width - w_it.count(); |
6196 | 2.49k | } |
6197 | 9.48k | else { |
6198 | 9.48k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, |
6199 | 4.29k | specs, value, loc)); |
6200 | | |
6201 | 4.29k | if (need_skipped_width) { |
6202 | 1.86k | value_width = calculate_text_width( |
6203 | 1.86k | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) |
6204 | 1.86k | .view()); |
6205 | 1.86k | } |
6206 | 4.29k | } |
6207 | | |
6208 | | // Read postfix |
6209 | 6.78k | std::ptrdiff_t postfix_width = 0; |
6210 | 6.78k | if (it != rng.end()) { |
6211 | 4.84k | SCN_TRY(postfix_result, |
6212 | 4.84k | impl_postfix(ranges::subrange{it, rng.end()}, |
6213 | 4.84k | rd.skip_ws_before_read(), prefix_width, |
6214 | 4.84k | value_width)); |
6215 | 4.84k | std::tie(it, postfix_width) = postfix_result; |
6216 | 4.84k | } |
6217 | | |
6218 | 6.78k | SCN_TRY_DISCARD(check_widths_for_arg_reader( |
6219 | 6.78k | specs, prefix_width, value_width, postfix_width)); |
6220 | 5.90k | return it; |
6221 | 6.78k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSC_IwNSD_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSC_IcNSD_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 662 | { | 6161 | 662 | const bool need_skipped_width = | 6162 | 662 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 662 | auto it = rng.begin(); | 6166 | 662 | std::ptrdiff_t prefix_width = 0; | 6167 | 662 | if (specs.precision != 0) { | 6168 | 380 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 380 | SCN_TRY(prefix_result, | 6170 | 348 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 348 | it = prefix_result.first.base(); | 6172 | 348 | prefix_width = prefix_result.second; | 6173 | 348 | } | 6174 | 282 | else { | 6175 | 282 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 282 | std::tie(it, prefix_width) = prefix_result; | 6177 | 282 | } | 6178 | 630 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 630 | std::ptrdiff_t value_width = 0; | 6182 | 630 | if (specs.precision != 0) { | 6183 | 348 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 342 | const auto initial_width = specs.precision - prefix_width; | 6191 | 342 | auto max_width_view = | 6192 | 342 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 342 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 282 | else { | 6198 | 282 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 662 | { | 6161 | 662 | const bool need_skipped_width = | 6162 | 662 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 662 | auto it = rng.begin(); | 6166 | 662 | std::ptrdiff_t prefix_width = 0; | 6167 | 662 | if (specs.precision != 0) { | 6168 | 380 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 380 | SCN_TRY(prefix_result, | 6170 | 348 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 348 | it = prefix_result.first.base(); | 6172 | 348 | prefix_width = prefix_result.second; | 6173 | 348 | } | 6174 | 282 | else { | 6175 | 282 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 282 | std::tie(it, prefix_width) = prefix_result; | 6177 | 282 | } | 6178 | 630 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 630 | std::ptrdiff_t value_width = 0; | 6182 | 630 | if (specs.precision != 0) { | 6183 | 348 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 342 | const auto initial_width = specs.precision - prefix_width; | 6191 | 342 | auto max_width_view = | 6192 | 342 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 342 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 282 | else { | 6198 | 282 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6160 | 586 | { | 6161 | 586 | const bool need_skipped_width = | 6162 | 586 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 586 | auto it = rng.begin(); | 6166 | 586 | std::ptrdiff_t prefix_width = 0; | 6167 | 586 | if (specs.precision != 0) { | 6168 | 332 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 332 | SCN_TRY(prefix_result, | 6170 | 308 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 308 | it = prefix_result.first.base(); | 6172 | 308 | prefix_width = prefix_result.second; | 6173 | 308 | } | 6174 | 254 | else { | 6175 | 254 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 254 | std::tie(it, prefix_width) = prefix_result; | 6177 | 254 | } | 6178 | 562 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 562 | std::ptrdiff_t value_width = 0; | 6182 | 562 | if (specs.precision != 0) { | 6183 | 308 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 304 | const auto initial_width = specs.precision - prefix_width; | 6191 | 304 | auto max_width_view = | 6192 | 304 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 304 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 254 | else { | 6198 | 254 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 918 | { | 6161 | 918 | const bool need_skipped_width = | 6162 | 918 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 918 | auto it = rng.begin(); | 6166 | 918 | std::ptrdiff_t prefix_width = 0; | 6167 | 918 | if (specs.precision != 0) { | 6168 | 496 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 496 | SCN_TRY(prefix_result, | 6170 | 460 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 460 | it = prefix_result.first.base(); | 6172 | 460 | prefix_width = prefix_result.second; | 6173 | 460 | } | 6174 | 422 | else { | 6175 | 422 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 422 | std::tie(it, prefix_width) = prefix_result; | 6177 | 422 | } | 6178 | 882 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 882 | std::ptrdiff_t value_width = 0; | 6182 | 882 | if (specs.precision != 0) { | 6183 | 460 | if (specs.precision <= prefix_width) { | 6184 | 10 | return detail::unexpected_scan_error( | 6185 | 10 | scan_error::invalid_fill, | 6186 | 10 | "Too many fill characters before value, " | 6187 | 10 | "precision exceeded before reading value"); | 6188 | 10 | } | 6189 | | | 6190 | 450 | const auto initial_width = specs.precision - prefix_width; | 6191 | 450 | auto max_width_view = | 6192 | 450 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 450 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 422 | else { | 6198 | 422 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 640 | { | 6161 | 640 | const bool need_skipped_width = | 6162 | 640 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 640 | auto it = rng.begin(); | 6166 | 640 | std::ptrdiff_t prefix_width = 0; | 6167 | 640 | if (specs.precision != 0) { | 6168 | 368 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 368 | SCN_TRY(prefix_result, | 6170 | 368 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 368 | it = prefix_result.first.base(); | 6172 | 368 | prefix_width = prefix_result.second; | 6173 | 368 | } | 6174 | 272 | else { | 6175 | 272 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 272 | std::tie(it, prefix_width) = prefix_result; | 6177 | 272 | } | 6178 | 640 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 640 | std::ptrdiff_t value_width = 0; | 6182 | 640 | if (specs.precision != 0) { | 6183 | 368 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 362 | const auto initial_width = specs.precision - prefix_width; | 6191 | 362 | auto max_width_view = | 6192 | 362 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 362 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 326 | it = w_it.base(); | 6195 | 326 | value_width = initial_width - w_it.count(); | 6196 | 326 | } | 6197 | 272 | else { | 6198 | 272 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 250 | specs, value, loc)); | 6200 | | | 6201 | 250 | if (need_skipped_width) { | 6202 | 184 | value_width = calculate_text_width( | 6203 | 184 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 184 | .view()); | 6205 | 184 | } | 6206 | 250 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 576 | std::ptrdiff_t postfix_width = 0; | 6210 | 576 | if (it != rng.end()) { | 6211 | 576 | SCN_TRY(postfix_result, | 6212 | 576 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 576 | rd.skip_ws_before_read(), prefix_width, | 6214 | 576 | value_width)); | 6215 | 576 | std::tie(it, postfix_width) = postfix_result; | 6216 | 576 | } | 6217 | | | 6218 | 576 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 576 | specs, prefix_width, value_width, postfix_width)); | 6220 | 414 | return it; | 6221 | 576 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 674 | { | 6161 | 674 | const bool need_skipped_width = | 6162 | 674 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 674 | auto it = rng.begin(); | 6166 | 674 | std::ptrdiff_t prefix_width = 0; | 6167 | 674 | if (specs.precision != 0) { | 6168 | 390 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 390 | SCN_TRY(prefix_result, | 6170 | 360 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 360 | it = prefix_result.first.base(); | 6172 | 360 | prefix_width = prefix_result.second; | 6173 | 360 | } | 6174 | 284 | else { | 6175 | 284 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 284 | std::tie(it, prefix_width) = prefix_result; | 6177 | 284 | } | 6178 | 644 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 644 | std::ptrdiff_t value_width = 0; | 6182 | 644 | if (specs.precision != 0) { | 6183 | 360 | if (specs.precision <= prefix_width) { | 6184 | 8 | return detail::unexpected_scan_error( | 6185 | 8 | scan_error::invalid_fill, | 6186 | 8 | "Too many fill characters before value, " | 6187 | 8 | "precision exceeded before reading value"); | 6188 | 8 | } | 6189 | | | 6190 | 352 | const auto initial_width = specs.precision - prefix_width; | 6191 | 352 | auto max_width_view = | 6192 | 352 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 352 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 284 | else { | 6198 | 284 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6160 | 2.19k | { | 6161 | 2.19k | const bool need_skipped_width = | 6162 | 2.19k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.19k | auto it = rng.begin(); | 6166 | 2.19k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.19k | if (specs.precision != 0) { | 6168 | 854 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 854 | SCN_TRY(prefix_result, | 6170 | 826 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 826 | it = prefix_result.first.base(); | 6172 | 826 | prefix_width = prefix_result.second; | 6173 | 826 | } | 6174 | 1.34k | else { | 6175 | 1.34k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.34k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.34k | } | 6178 | 2.17k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.17k | std::ptrdiff_t value_width = 0; | 6182 | 2.17k | if (specs.precision != 0) { | 6183 | 826 | if (specs.precision <= prefix_width) { | 6184 | 10 | return detail::unexpected_scan_error( | 6185 | 10 | scan_error::invalid_fill, | 6186 | 10 | "Too many fill characters before value, " | 6187 | 10 | "precision exceeded before reading value"); | 6188 | 10 | } | 6189 | | | 6190 | 816 | const auto initial_width = specs.precision - prefix_width; | 6191 | 816 | auto max_width_view = | 6192 | 816 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 816 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 448 | it = w_it.base(); | 6195 | 448 | value_width = initial_width - w_it.count(); | 6196 | 448 | } | 6197 | 1.34k | else { | 6198 | 1.34k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 786 | specs, value, loc)); | 6200 | | | 6201 | 786 | if (need_skipped_width) { | 6202 | 214 | value_width = calculate_text_width( | 6203 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 214 | .view()); | 6205 | 214 | } | 6206 | 786 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.23k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.23k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.23k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.23k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.13k | return it; | 6221 | 1.23k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 2.19k | { | 6161 | 2.19k | const bool need_skipped_width = | 6162 | 2.19k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.19k | auto it = rng.begin(); | 6166 | 2.19k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.19k | if (specs.precision != 0) { | 6168 | 854 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 854 | SCN_TRY(prefix_result, | 6170 | 826 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 826 | it = prefix_result.first.base(); | 6172 | 826 | prefix_width = prefix_result.second; | 6173 | 826 | } | 6174 | 1.34k | else { | 6175 | 1.34k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.34k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.34k | } | 6178 | 2.17k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.17k | std::ptrdiff_t value_width = 0; | 6182 | 2.17k | if (specs.precision != 0) { | 6183 | 826 | if (specs.precision <= prefix_width) { | 6184 | 10 | return detail::unexpected_scan_error( | 6185 | 10 | scan_error::invalid_fill, | 6186 | 10 | "Too many fill characters before value, " | 6187 | 10 | "precision exceeded before reading value"); | 6188 | 10 | } | 6189 | | | 6190 | 816 | const auto initial_width = specs.precision - prefix_width; | 6191 | 816 | auto max_width_view = | 6192 | 816 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 816 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 448 | it = w_it.base(); | 6195 | 448 | value_width = initial_width - w_it.count(); | 6196 | 448 | } | 6197 | 1.34k | else { | 6198 | 1.34k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 786 | specs, value, loc)); | 6200 | | | 6201 | 786 | if (need_skipped_width) { | 6202 | 214 | value_width = calculate_text_width( | 6203 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 214 | .view()); | 6205 | 214 | } | 6206 | 786 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.23k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.23k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.23k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.23k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.13k | return it; | 6221 | 1.23k | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 2.19k | { | 6161 | 2.19k | const bool need_skipped_width = | 6162 | 2.19k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.19k | auto it = rng.begin(); | 6166 | 2.19k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.19k | if (specs.precision != 0) { | 6168 | 854 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 854 | SCN_TRY(prefix_result, | 6170 | 826 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 826 | it = prefix_result.first.base(); | 6172 | 826 | prefix_width = prefix_result.second; | 6173 | 826 | } | 6174 | 1.34k | else { | 6175 | 1.34k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.34k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.34k | } | 6178 | 2.17k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.17k | std::ptrdiff_t value_width = 0; | 6182 | 2.17k | if (specs.precision != 0) { | 6183 | 826 | if (specs.precision <= prefix_width) { | 6184 | 10 | return detail::unexpected_scan_error( | 6185 | 10 | scan_error::invalid_fill, | 6186 | 10 | "Too many fill characters before value, " | 6187 | 10 | "precision exceeded before reading value"); | 6188 | 10 | } | 6189 | | | 6190 | 816 | const auto initial_width = specs.precision - prefix_width; | 6191 | 816 | auto max_width_view = | 6192 | 816 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 816 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 448 | it = w_it.base(); | 6195 | 448 | value_width = initial_width - w_it.count(); | 6196 | 448 | } | 6197 | 1.34k | else { | 6198 | 1.34k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 786 | specs, value, loc)); | 6200 | | | 6201 | 786 | if (need_skipped_width) { | 6202 | 214 | value_width = calculate_text_width( | 6203 | 214 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 214 | .view()); | 6205 | 214 | } | 6206 | 786 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.23k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.23k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.23k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.23k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.13k | return it; | 6221 | 1.23k | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 520 | { | 6161 | 520 | const bool need_skipped_width = | 6162 | 520 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 520 | auto it = rng.begin(); | 6166 | 520 | std::ptrdiff_t prefix_width = 0; | 6167 | 520 | if (specs.precision != 0) { | 6168 | 164 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 164 | SCN_TRY(prefix_result, | 6170 | 160 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 160 | it = prefix_result.first.base(); | 6172 | 160 | prefix_width = prefix_result.second; | 6173 | 160 | } | 6174 | 356 | else { | 6175 | 356 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 356 | std::tie(it, prefix_width) = prefix_result; | 6177 | 356 | } | 6178 | 516 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 516 | std::ptrdiff_t value_width = 0; | 6182 | 516 | if (specs.precision != 0) { | 6183 | 160 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 158 | const auto initial_width = specs.precision - prefix_width; | 6191 | 158 | auto max_width_view = | 6192 | 158 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 158 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 356 | else { | 6198 | 356 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 520 | { | 6161 | 520 | const bool need_skipped_width = | 6162 | 520 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 520 | auto it = rng.begin(); | 6166 | 520 | std::ptrdiff_t prefix_width = 0; | 6167 | 520 | if (specs.precision != 0) { | 6168 | 164 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 164 | SCN_TRY(prefix_result, | 6170 | 160 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 160 | it = prefix_result.first.base(); | 6172 | 160 | prefix_width = prefix_result.second; | 6173 | 160 | } | 6174 | 356 | else { | 6175 | 356 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 356 | std::tie(it, prefix_width) = prefix_result; | 6177 | 356 | } | 6178 | 516 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 516 | std::ptrdiff_t value_width = 0; | 6182 | 516 | if (specs.precision != 0) { | 6183 | 160 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 158 | const auto initial_width = specs.precision - prefix_width; | 6191 | 158 | auto max_width_view = | 6192 | 158 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 158 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 356 | else { | 6198 | 356 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6160 | 430 | { | 6161 | 430 | const bool need_skipped_width = | 6162 | 430 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 430 | auto it = rng.begin(); | 6166 | 430 | std::ptrdiff_t prefix_width = 0; | 6167 | 430 | if (specs.precision != 0) { | 6168 | 128 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 128 | SCN_TRY(prefix_result, | 6170 | 126 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 126 | it = prefix_result.first.base(); | 6172 | 126 | prefix_width = prefix_result.second; | 6173 | 126 | } | 6174 | 302 | else { | 6175 | 302 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 302 | std::tie(it, prefix_width) = prefix_result; | 6177 | 302 | } | 6178 | 428 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 428 | std::ptrdiff_t value_width = 0; | 6182 | 428 | if (specs.precision != 0) { | 6183 | 126 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 124 | const auto initial_width = specs.precision - prefix_width; | 6191 | 124 | auto max_width_view = | 6192 | 124 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 124 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 302 | else { | 6198 | 302 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 600 | { | 6161 | 600 | const bool need_skipped_width = | 6162 | 600 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 600 | auto it = rng.begin(); | 6166 | 600 | std::ptrdiff_t prefix_width = 0; | 6167 | 600 | if (specs.precision != 0) { | 6168 | 186 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 186 | SCN_TRY(prefix_result, | 6170 | 182 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 182 | it = prefix_result.first.base(); | 6172 | 182 | prefix_width = prefix_result.second; | 6173 | 182 | } | 6174 | 414 | else { | 6175 | 414 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 414 | std::tie(it, prefix_width) = prefix_result; | 6177 | 414 | } | 6178 | 596 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 596 | std::ptrdiff_t value_width = 0; | 6182 | 596 | if (specs.precision != 0) { | 6183 | 182 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 178 | const auto initial_width = specs.precision - prefix_width; | 6191 | 178 | auto max_width_view = | 6192 | 178 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 178 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 414 | else { | 6198 | 414 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 480 | { | 6161 | 480 | const bool need_skipped_width = | 6162 | 480 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 480 | auto it = rng.begin(); | 6166 | 480 | std::ptrdiff_t prefix_width = 0; | 6167 | 480 | if (specs.precision != 0) { | 6168 | 144 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 144 | SCN_TRY(prefix_result, | 6170 | 144 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 144 | it = prefix_result.first.base(); | 6172 | 144 | prefix_width = prefix_result.second; | 6173 | 144 | } | 6174 | 336 | else { | 6175 | 336 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 336 | std::tie(it, prefix_width) = prefix_result; | 6177 | 336 | } | 6178 | 480 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 480 | std::ptrdiff_t value_width = 0; | 6182 | 480 | if (specs.precision != 0) { | 6183 | 144 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 142 | const auto initial_width = specs.precision - prefix_width; | 6191 | 142 | auto max_width_view = | 6192 | 142 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 142 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 122 | it = w_it.base(); | 6195 | 122 | value_width = initial_width - w_it.count(); | 6196 | 122 | } | 6197 | 336 | else { | 6198 | 336 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 300 | specs, value, loc)); | 6200 | | | 6201 | 300 | if (need_skipped_width) { | 6202 | 220 | value_width = calculate_text_width( | 6203 | 220 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 220 | .view()); | 6205 | 220 | } | 6206 | 300 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 422 | std::ptrdiff_t postfix_width = 0; | 6210 | 422 | if (it != rng.end()) { | 6211 | 422 | SCN_TRY(postfix_result, | 6212 | 422 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 422 | rd.skip_ws_before_read(), prefix_width, | 6214 | 422 | value_width)); | 6215 | 422 | std::tie(it, postfix_width) = postfix_result; | 6216 | 422 | } | 6217 | | | 6218 | 422 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 422 | specs, prefix_width, value_width, postfix_width)); | 6220 | 204 | return it; | 6221 | 422 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 488 | { | 6161 | 488 | const bool need_skipped_width = | 6162 | 488 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 488 | auto it = rng.begin(); | 6166 | 488 | std::ptrdiff_t prefix_width = 0; | 6167 | 488 | if (specs.precision != 0) { | 6168 | 150 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 150 | SCN_TRY(prefix_result, | 6170 | 146 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 146 | it = prefix_result.first.base(); | 6172 | 146 | prefix_width = prefix_result.second; | 6173 | 146 | } | 6174 | 338 | else { | 6175 | 338 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 338 | std::tie(it, prefix_width) = prefix_result; | 6177 | 338 | } | 6178 | 484 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 484 | std::ptrdiff_t value_width = 0; | 6182 | 484 | if (specs.precision != 0) { | 6183 | 146 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 142 | const auto initial_width = specs.precision - prefix_width; | 6191 | 142 | auto max_width_view = | 6192 | 142 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 142 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 338 | else { | 6198 | 338 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 834 | { | 6161 | 834 | const bool need_skipped_width = | 6162 | 834 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 834 | auto it = rng.begin(); | 6166 | 834 | std::ptrdiff_t prefix_width = 0; | 6167 | 834 | if (specs.precision != 0) { | 6168 | 316 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 316 | SCN_TRY(prefix_result, | 6170 | 314 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 314 | it = prefix_result.first.base(); | 6172 | 314 | prefix_width = prefix_result.second; | 6173 | 314 | } | 6174 | 518 | else { | 6175 | 518 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 518 | std::tie(it, prefix_width) = prefix_result; | 6177 | 518 | } | 6178 | 832 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 832 | std::ptrdiff_t value_width = 0; | 6182 | 832 | if (specs.precision != 0) { | 6183 | 314 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 308 | const auto initial_width = specs.precision - prefix_width; | 6191 | 308 | auto max_width_view = | 6192 | 308 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 308 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 234 | it = w_it.base(); | 6195 | 234 | value_width = initial_width - w_it.count(); | 6196 | 234 | } | 6197 | 518 | else { | 6198 | 518 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 462 | specs, value, loc)); | 6200 | | | 6201 | 462 | if (need_skipped_width) { | 6202 | 272 | value_width = calculate_text_width( | 6203 | 272 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 272 | .view()); | 6205 | 272 | } | 6206 | 462 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 696 | std::ptrdiff_t postfix_width = 0; | 6210 | 696 | if (it != rng.end()) { | 6211 | 398 | SCN_TRY(postfix_result, | 6212 | 398 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 398 | rd.skip_ws_before_read(), prefix_width, | 6214 | 398 | value_width)); | 6215 | 398 | std::tie(it, postfix_width) = postfix_result; | 6216 | 398 | } | 6217 | | | 6218 | 696 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 696 | specs, prefix_width, value_width, postfix_width)); | 6220 | 624 | return it; | 6221 | 696 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6160 | 834 | { | 6161 | 834 | const bool need_skipped_width = | 6162 | 834 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 834 | auto it = rng.begin(); | 6166 | 834 | std::ptrdiff_t prefix_width = 0; | 6167 | 834 | if (specs.precision != 0) { | 6168 | 316 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 316 | SCN_TRY(prefix_result, | 6170 | 314 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 314 | it = prefix_result.first.base(); | 6172 | 314 | prefix_width = prefix_result.second; | 6173 | 314 | } | 6174 | 518 | else { | 6175 | 518 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 518 | std::tie(it, prefix_width) = prefix_result; | 6177 | 518 | } | 6178 | 832 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 832 | std::ptrdiff_t value_width = 0; | 6182 | 832 | if (specs.precision != 0) { | 6183 | 314 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 308 | const auto initial_width = specs.precision - prefix_width; | 6191 | 308 | auto max_width_view = | 6192 | 308 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 308 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 234 | it = w_it.base(); | 6195 | 234 | value_width = initial_width - w_it.count(); | 6196 | 234 | } | 6197 | 518 | else { | 6198 | 518 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 462 | specs, value, loc)); | 6200 | | | 6201 | 462 | if (need_skipped_width) { | 6202 | 272 | value_width = calculate_text_width( | 6203 | 272 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 272 | .view()); | 6205 | 272 | } | 6206 | 462 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 696 | std::ptrdiff_t postfix_width = 0; | 6210 | 696 | if (it != rng.end()) { | 6211 | 398 | SCN_TRY(postfix_result, | 6212 | 398 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 398 | rd.skip_ws_before_read(), prefix_width, | 6214 | 398 | value_width)); | 6215 | 398 | std::tie(it, postfix_width) = postfix_result; | 6216 | 398 | } | 6217 | | | 6218 | 696 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 696 | specs, prefix_width, value_width, postfix_width)); | 6220 | 624 | return it; | 6221 | 696 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 834 | { | 6161 | 834 | const bool need_skipped_width = | 6162 | 834 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 834 | auto it = rng.begin(); | 6166 | 834 | std::ptrdiff_t prefix_width = 0; | 6167 | 834 | if (specs.precision != 0) { | 6168 | 316 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 316 | SCN_TRY(prefix_result, | 6170 | 314 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 314 | it = prefix_result.first.base(); | 6172 | 314 | prefix_width = prefix_result.second; | 6173 | 314 | } | 6174 | 518 | else { | 6175 | 518 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 518 | std::tie(it, prefix_width) = prefix_result; | 6177 | 518 | } | 6178 | 832 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 832 | std::ptrdiff_t value_width = 0; | 6182 | 832 | if (specs.precision != 0) { | 6183 | 314 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 308 | const auto initial_width = specs.precision - prefix_width; | 6191 | 308 | auto max_width_view = | 6192 | 308 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 308 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 234 | it = w_it.base(); | 6195 | 234 | value_width = initial_width - w_it.count(); | 6196 | 234 | } | 6197 | 518 | else { | 6198 | 518 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 462 | specs, value, loc)); | 6200 | | | 6201 | 462 | if (need_skipped_width) { | 6202 | 272 | value_width = calculate_text_width( | 6203 | 272 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 272 | .view()); | 6205 | 272 | } | 6206 | 462 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 696 | std::ptrdiff_t postfix_width = 0; | 6210 | 696 | if (it != rng.end()) { | 6211 | 398 | SCN_TRY(postfix_result, | 6212 | 398 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 398 | rd.skip_ws_before_read(), prefix_width, | 6214 | 398 | value_width)); | 6215 | 398 | std::tie(it, postfix_width) = postfix_result; | 6216 | 398 | } | 6217 | | | 6218 | 696 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 696 | specs, prefix_width, value_width, postfix_width)); | 6220 | 624 | return it; | 6221 | 696 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ |
6222 | | |
6223 | | template <typename T> |
6224 | | scan_expected<iterator> operator()(T& value) |
6225 | 29.8k | { |
6226 | | if constexpr (!detail::is_type_disabled<T> && |
6227 | | std::is_same_v< |
6228 | | context_type, |
6229 | 29.8k | basic_contiguous_scan_context<char_type>>) { |
6230 | 29.8k | auto rd = make_reader<T, char_type>(); |
6231 | 29.8k | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6232 | 16.2k | return impl(rd, range, value); |
6233 | | } |
6234 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
6235 | 0 | auto rd = make_reader<T, char_type>(); |
6236 | 0 | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6237 | |
|
6238 | 0 | if (!is_segment_contiguous(range) || specs.precision != 0 || |
6239 | 0 | specs.width != 0) { |
6240 | 0 | return impl(rd, range, value); |
6241 | 0 | } |
6242 | | |
6243 | 0 | auto crange = get_as_contiguous(range); |
6244 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
6245 | 0 | return ranges::next(range.begin(), |
6246 | 0 | ranges::distance(crange.begin(), it)); |
6247 | | } |
6248 | | else { |
6249 | | SCN_EXPECT(false); |
6250 | | SCN_UNREACHABLE; |
6251 | | } |
6252 | 29.8k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 6225 | 2.38k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.38k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.38k | auto rd = make_reader<T, char_type>(); | 6231 | 2.38k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 662 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.38k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6225 | 2.38k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.38k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.38k | auto rd = make_reader<T, char_type>(); | 6231 | 2.38k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 662 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.38k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 6225 | 2.34k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.34k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.34k | auto rd = make_reader<T, char_type>(); | 6231 | 2.34k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 586 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.34k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 6225 | 2.38k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.38k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.38k | auto rd = make_reader<T, char_type>(); | 6231 | 2.38k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 918 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.38k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 6225 | 2.34k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.34k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.34k | auto rd = make_reader<T, char_type>(); | 6231 | 2.34k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 640 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.34k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 6225 | 2.38k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.38k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.38k | auto rd = make_reader<T, char_type>(); | 6231 | 2.38k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 674 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.38k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 6225 | 2.34k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.34k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.34k | auto rd = make_reader<T, char_type>(); | 6231 | 2.34k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.19k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.34k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6225 | 2.34k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.34k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.34k | auto rd = make_reader<T, char_type>(); | 6231 | 2.34k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.19k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.34k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6225 | 2.34k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.34k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.34k | auto rd = make_reader<T, char_type>(); | 6231 | 2.34k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.19k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.34k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 6225 | 988 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 988 | basic_contiguous_scan_context<char_type>>) { | 6230 | 988 | auto rd = make_reader<T, char_type>(); | 6231 | 988 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 520 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 988 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6225 | 988 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 988 | basic_contiguous_scan_context<char_type>>) { | 6230 | 988 | auto rd = make_reader<T, char_type>(); | 6231 | 988 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 520 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 988 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 6225 | 940 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 940 | basic_contiguous_scan_context<char_type>>) { | 6230 | 940 | auto rd = make_reader<T, char_type>(); | 6231 | 940 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 430 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 940 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 6225 | 988 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 988 | basic_contiguous_scan_context<char_type>>) { | 6230 | 988 | auto rd = make_reader<T, char_type>(); | 6231 | 988 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 600 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 988 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 6225 | 940 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 940 | basic_contiguous_scan_context<char_type>>) { | 6230 | 940 | auto rd = make_reader<T, char_type>(); | 6231 | 940 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 480 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 940 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 6225 | 988 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 988 | basic_contiguous_scan_context<char_type>>) { | 6230 | 988 | auto rd = make_reader<T, char_type>(); | 6231 | 988 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 488 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 988 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6225 | 940 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 940 | basic_contiguous_scan_context<char_type>>) { | 6230 | 940 | auto rd = make_reader<T, char_type>(); | 6231 | 940 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 834 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 940 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 6225 | 940 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 940 | basic_contiguous_scan_context<char_type>>) { | 6230 | 940 | auto rd = make_reader<T, char_type>(); | 6231 | 940 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 834 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 940 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6225 | 940 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 940 | basic_contiguous_scan_context<char_type>>) { | 6230 | 940 | auto rd = make_reader<T, char_type>(); | 6231 | 940 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 834 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 940 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) |
6253 | | |
6254 | | scan_expected<iterator> operator()( |
6255 | | typename basic_scan_arg<detail::default_context<char_type>>::handle) |
6256 | | const |
6257 | 0 | { |
6258 | 0 | SCN_EXPECT(false); |
6259 | 0 | SCN_UNREACHABLE; |
6260 | 0 | } Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6261 | | |
6262 | | range_type range; |
6263 | | const detail::format_specs& specs; |
6264 | | detail::locale_ref loc; |
6265 | | }; |
6266 | | |
6267 | | template <typename Context> |
6268 | | struct custom_reader { |
6269 | | using context_type = Context; |
6270 | | using char_type = typename context_type::char_type; |
6271 | | using parse_context_type = typename context_type::parse_context_type; |
6272 | | using iterator = typename context_type::iterator; |
6273 | | |
6274 | | template <typename T> |
6275 | | scan_expected<iterator> operator()(T&) const |
6276 | 0 | { |
6277 | 0 | SCN_EXPECT(false); |
6278 | 0 | SCN_UNREACHABLE; |
6279 | 0 | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const |
6280 | | |
6281 | | scan_expected<iterator> operator()( |
6282 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
6283 | | const |
6284 | 0 | { |
6285 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
6286 | 0 | return {ctx.begin()}; |
6287 | 0 | } Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6288 | | |
6289 | | parse_context_type& parse_ctx; |
6290 | | context_type& ctx; |
6291 | | }; |
6292 | | } // namespace impl |
6293 | | |
6294 | | SCN_END_NAMESPACE |
6295 | | } // namespace scn |